adplus-dvertising
frame-decoration

Question

How would you round off a value from 6.66 to 7.0?

a.

ceil(6.66)

b.

floor(6.66)

c.

roundup(6.66)

d.

roundto(6.66)

Posted under C Programming

Answer: (a).ceil(6.66)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How would you round off a value from 6.66 to 7.0?