-1/3
96
5 is an integer because it is a whole number
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(); }
Oh, that's a happy little question! To turn 5.83333333333 into a fraction, we can start by noticing that the decimal part .83333333333 can be written as 5/6. So, 5.83333333333 as a fraction is 5 5/6. Just like that, we've created a beautiful fraction from our decimal friend!