Question: (C++) 3.22 Assignment 1 Assignment 1 is continuation of lab 2.29 Coding from a Given Algorithm, where you are required to use conditional statements to

(C++) 3.22 Assignment 1

Assignment 1 is continuation of lab 2.29 Coding from a Given Algorithm, where you are required to use conditional statements to improve the program.

Verify the entered data for scores are all between 0 and 100, if any of them is not valid (out of range or character is entered) print an error message and stop the program.

Once the average is calculated then assign a letter grade to the student based on the following table:

(C++) 3.22 Assignment 1 Assignment 1 is continuation of lab 2.29 Coding

Modify the algorithm from Lab 2.29 algorithm to include error checking and letter grade assignment. Put it as a comment block in your program. Develop a C++ program based on your algorithm that includes requirements stated on the assignment.

Make sure to include updated algorithm in the program as a comment block 20 points for documentation will be added manually when assignment scores are transferred to Canvas.

The required output is changed make sure to make the adjustments. (pay attention to the details, wording, punctuations, and correctness of the calculated values and printed with the required precision)

Use the sample output posted below for submission on zyBooks. Only the report at the end is checked for grading purposes on zyBooks, make sure the wording of labels and calculated values match what is stated here in each test case.

Requirements:

Format Requirements: Display the results in page format, all labels and values lined up and all real numbers should only show 2 digits after the decimal point.

Documentation: Include the detailed algorithm at the beginning of the program. Be precise and do not make any assumptions include all the step. Watch the recording and the sample developed as guideline.

Use meaningful variables and proper indentation for if statements.

The algorithm was provided for assignment 1 you may start there and add the necessary steps or start one from scratch.

from a Given Algorithm, where you are required to use conditional statementsto improve the program. Verify the entered data for scores are all

between 0 and 100, if any of them is not valid (out

\begin{tabular}{|l|l|} \hline Average & Grade \\ \hline 90100 & A \\ \hline 8089 & B \\ \hline 7079 & C \\ \hline 6069 & D \\ \hline 059 & F \\ \hline \end{tabular} Sample 1: EnterstudentnameEnterfirstexamscoreEntersecondexamscoreEnterthirdexamscoreEnterquizscoreProgrammingtotal::::::JoeSmith100100100100100 Hello Joe Smith, here is your report: Test Scores: 100,100,100 Tests percentage: 60.00 Quiz percentage: 10.00 Programming Assignment percentage: 30.00 Total Course Percentage: 100.00 Letter grade for the course: A Sample 2: EnterstudentnameEnterfirstexamscoreEntersecondexamscoreEnterthirdexamscoreEnterquizscoreProgrammingtotal:JoeS.Johnsen:100:0:100:50:100 Hello Joe S. Johnsen, here is your report: Test Scores: 100,0,100 Tests percentage: 40.00 Quiz percentage: 5.00 Programming Assignment percentage: 30.00 Total Course Percentage: 75.00 Letter grade for the course: C Sample 3: You are tasked to write a program to calculate the average for a given student based on the following information, each student has 3 test scores (60\% of the grade), one quiz (10\% of the grade) and a score for programming assignments (30\% of the grade). Prompt user for their name and scores, calculate the average, and finally print the results and student data. Print the results nicely formatted with clear labels. The algorithm was provided

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!