f is NOT 1.0
On Thu, Jun 2, 2011 at 8:35 PM, Balaji S <[email protected]> wrote:
> #include <stdio.h>
>
> int main()
> {
> float f=0.0f;
> int i;
>
> for(i=0;i<10;i++)
> f = f + 0.1f;
>
> if(f == 1.0f)
> printf("f is 1.0 \n");
> else
> printf("f is NOT 1.0\n");
>
> return 0;
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
--
**With Regards
Deoki Nandan Vishwakarma
IITR MCA
Mathematics Department*
*
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.