.333333 is not an integer. An integer is a whole number like 1, 2, 3...
-1/3
96
5 is an integer because it is a whole number
.3333333(repeating forever) is 1/3, so .033333(repeating) is 1/30. 5.8333(repeating) is 5 + 8/10 + 1/30. Rewrite 8/10 as 24/30 and you get 5+24/30 +1/30 = 5 and 25/30 which simplifies to 5 and 5/6. As an improper fraction, that is 35/6.
i++ i=i+1 ++i i+=1 but remember the answers of i++ and ++i are not be same.. use the following program to take closer look of the values of integer 'i'. thanks, Happy Garcha UFV, Abbotsford, Canada #include<stdio.h> main() { int i; printf(" i =>%d",i); i++; printf(" i++=> %d",i); ++i; printf(" ++i => %d",i); i=i+1; printf(" i=i+1 =>%d",i); i+=1; printf(" i=+1 =>%d",i); getch(); }