0
How do I format the input with scanf?
Whats rhe meaning of â%10fâ
2 RĂ©ponses
0
10 is the width specification: the max number of chars to consider.
https://code.sololearn.com/cmasjZhAbrd7/?ref=app
In your case if you digit 0000000009 (nine zeroes) the value of a will be 9.0 but if you input 00000000009 (ten zeroes) the value of a will be 0.0