Inactive Tutor answered 06/13/19
Tutor
New to Wyzant
On input, scanf matches %f with the address of the double, rather than float.
The type mismatch causes unpredictable results.
It will compile.
Output does not do this type checking.