/* * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* Programmer: Gene Robeen Date: mm/dd/yyyy */ /* */ /* * * * * * * * * * * * * * * * * * * * * * * * */ #include #include using namespace...

can you help with my assignment please. I have an assignment due and have no clue how to do it.


/* * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* Programmer: Gene Robeen Date: mm/dd/yyyy */ /* */ /* * * * * * * * * * * * * * * * * * * * * * * * */ #include #include using namespace std; int main() { /////////////////////////////////// // // // MIDTERM TEST INSTRUCTIONS // // // /////////////////////////////////// // // // // // // // // // // // // // // // // // // // // // // // // Determine Avg Score needed to get a Certain Grade // // --------- --- ----- ------ -- --- - ------- ------ // // // // Assume a course has 800 Total points possible // // There are 8 separate 100 points assignments // // All 8 assignments are equally weighted // // Earning 720 points in the course (90%) is an A // // Earning 640 points in the course (80%) is a B // // Earning 560 points in the course (70%) is a C // // Earning 480 points in the course (60%) is a D // // Earning points below 480 in the course is an F // // Prompt the user to enter all of their 8 scores // // An entry of -1 means that score is not yet earned // // ** Validate score - no loops just error msg! ** // // ** FYI: exit(0); // aborts the program ** // // Calculate the current Avg based on earned scores // // Output that current Avg something like this: // // Your avg for 6 assignments is 87.5 // // // // If the student has outstanding scores (-1 scores): // // Prompt student for a desired final grade (A-F) // // ** Validate grade - no loops just error msg! ** // // ** FYI: exit(0); // aborts the program ** // // Calculate the Avg Score of yet unearned scores // // needed to achieve the desired final grade // // Output that result something like this: // // To obtain an A in the course, you need to // // average 95.8 on the last 2 assignments. // // // // // // // // // // // // // // // // // // // // // // // // int asmt1, asmt2, asmt3, asmt4, asmt5, asmt6, asmt7, asmt8; int unearnedCnt=0, earnedCnt=0; char grade; cout < endl;="" cout="">< "----------------------------------"="">< endl;="" cout="">< "="" future="" grade="" prognostication"="">< endl;="" cout="">< "----------------------------------"="">< endl;="" cout="">< endl;="" input="" earned="" grades="" (-1="" if="" not="" earned="" yet)="" asmt="" 1="" cout="">< "enter="" score="" for="" assignment="" 1:="" [0-100]="" (-1="" if="" yet="" earned):="" ";="" cin="">> asmt1; }
Oct 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here