When i try to compile the above code( using Turbo C++ 3.0 in 16-bit DOS), the program terminates with this message:
scanf: floating-point math package not linked
Abnormal program termination
To Quote from the manual, When using float datatypes, linking with the floating-point package is mandatory, Turbo C++ will automatically do this for you if you use float in your code
Then why this error and how am I supposed to fix it?
Thanks In Advance,
P.S This is my first thread, hello to everyone over here