Line 54: |
Line 54: |
| } | | } |
| } | | } |
− |
| |
| done = false; | | done = false; |
| | | |
Line 75: |
Line 74: |
| } | | } |
| } | | } |
− | | + | Output<<"-----------------------------Grade Calculator-----------------------------"<<endl<<endl; |
− | Output<<"-----------------------------Grade Calculator-----------------------------"<<endl;
| + | Output<<"This program will process test scores to provide individuals"<<endl; |
− | Output<<endl;
| + | Output<<"with letter grades according to the following scale:"<<endl<<endl; |
− | Output<<"This program will process test scores to provide individuals"<<endl;
| + | Output<<" Average 90-100 A"<<endl; |
− | Output<<"with letter grades according to the following scale:"<<endl;
| + | Output<<" Average 80-89.9 B"<<endl; |
− | Output<<endl; // ||
| + | Output<<" Average 70-79.9 C"<<endl; |
− | Output<<" Average 90-100 A"<<endl;
| + | Output<<" Average 60-69.9 D"<<endl; |
− | Output<<" Average 80-89.9 B"<<endl;
| + | Output<<" Average < 59.9 F"<<endl<<endl; |
− | Output<<" Average 70-79.9 C"<<endl;
| + | Output<<"--------------------------------------------------------------------------"<<endl; |
− | Output<<" Average 60-69.9 D"<<endl;
| |
− | Output<<" Average < 59.9 F"<<endl;
| |
− | Output<<"--------------------------------------------------------------------------"<<endl;
| |
− | Output<<"--------------------------------------------------------------------------"<<endl;
| |
| | | |
| Input>>first_name>>last_name; | | Input>>first_name>>last_name; |
Line 118: |
Line 113: |
| } | | } |
| } | | } |
− |
| |
| float test_average = total_score/test_number; | | float test_average = total_score/test_number; |
| | | |
Line 136: |
Line 130: |
| Output<<"--------------------------------------------------------------------------"<<endl; | | Output<<"--------------------------------------------------------------------------"<<endl; |
| } | | } |
− | Input>>first_name>>last_name;
| + | Input>>first_name>>last_name; |
| } | | } |
| Output<<"Thank you for using this Grade Calculator."; | | Output<<"Thank you for using this Grade Calculator."; |