I need to write a program in C that does the following:
Write a program so that when the user enters a floating point number, it rounds off the number to 3 decimal places. When displaying the result, display 5 decimal places, and this means the 4th and 5th decimal place number will both be 0.
How do I round it to 3 decimal places and then display two zeroes? I am not allowed to use any sort of math library functions.