Thread: C++ help
View Single Post
Old January 3rd, 2006, 03:20 PM  
Skhorpion
Awesome Poster
 
Join Date: October 17, 2005
Location: Middle Tennessee
Age: 24
Gender: Male
Default

cout << fixed << setprecision (2) is to have it only display two decimal places and grade != -1 is using sentinel controlled repition, when user enter -1 as the grade it terminates

the program is an Ultimate Grade Report (still under construction apparebntly) that a teacher can enter the results of a test and have it display what the class average is and how many students got an A and a B etc

All is fair in love and war.
Skhorpion is offline   Reply With Quote