|
There is a question, do it well with C ++
What can I do wrong when using C? Later, I found that it was a problem with the input when debugging. C didn't know much ...
Wrote a paragraph
int main ()
{
double a;
scanf ("% f",&a);
printf ("% f", a);
return 0;
}
Whatever the input is, the output is 0.0000000 (in the case of small numbers). What is wrong? |
|