This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: //from cmath or math.h which must be //included at the top of the program cout << num << " rounded to the nearest hundredth's is " << roundedNum << endl return 0 } //end of main Sheet1 Page 2 using old-fashioned type casting using the floor library function u...
View Full Document
This note was uploaded on 04/01/2008 for the course CMPSC 101 taught by Professor Drobish,renee during the Spring '07 term at Penn State.
- Spring '07