Computer Science, asked by tarunkolli33, 5 months ago

Write a c++ program to round off the decimal number to k decimal places​

Answers

Answered by hardikprem
1

Answer:

Explanation:round( ) function in C returns the nearest integer value of the float/double/long double argument passed to this function.

If decimal value is from ”. 1 to . 5″, it returns integer value less than the argument. ...

”math. h” header file supports round( ) function in C language

Similar questions