Question: Its one homework . Program: Function floor (found in the math library) may be used to round a number to a specific decimal place. The
Program: Function floor (found in the math library) may be used to round a number to a specific decimal place. The statement: y= floor (x * 10 + .5) / 10; rounds x to the tenths position (the first position to the right of the decimal place. The statement y = floor(x100+.5) / 100; rounds x to the hundredths position (2nd to the right of decima place). you oor 1005)/ More on next slide
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
