f is NOT 1.0

On Thu, Jun 2, 2011 at 8:35 PM, Balaji S <balaji.ceg...@gmail.com> 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 algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> 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 algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to