i get Error while trying to compile and Run, [Linker error] undefined reference to `scand’ [closed]

The code contains a typo. In this statement

scand("%f",&Centimeters);

there shall be scanf instead of scand.

scanf("%f",&Centimeters);

Leave a Comment