J
Jude
here is the source code:
#include<stdio.h>
int main()
{
float f;
scanf("%f",&f);
printf("The float is %10.5f\n",f);
return 0;
}
when I input 12345.11111,the output is 12345.11133.
what's wrong with it?
I compile it with vc++6.0.
#include<stdio.h>
int main()
{
float f;
scanf("%f",&f);
printf("The float is %10.5f\n",f);
return 0;
}
when I input 12345.11111,the output is 12345.11133.
what's wrong with it?
I compile it with vc++6.0.