This question already has an answer here:
Dears,
I am writing some basic programs that need to receive more than one variable, following the formed
fmt.printf ("Report number")
fmt.scanf ("%f", &num1)
fmt.printf ("Report number")
fmt.scanf ("%f", &num2)
But the second scanf is always skipped, if I put a third, it is read normally. How do I do it, so that all Scanfs are recognized?
</div>