i just started taking cpp classes in school and i got a new assignment. in this assignment i have to calculate how much it will cost for a customers carpet(after all the input).I also must use one function in this program. so i was wondering if there was a way i could make a function round up to the next number (ie if n=1.11 round it to n=2 or something). plz include examples.

thanks