Question: Test Average and Grade, Programming Exercise #7 on p 329 (modified). This is an algorithm in pseudocode. Allow the user to enter any 2 integer

Test Average and Grade, Programming Exercise #7 on p 329 (modified). This is an algorithm in pseudocode.

Allow the user to enter any 2 integer test scores in main().

Send those 2 scores to a function that will compute and return the average back to main().

Send the average to a function that will compute and return the course letter grade (A,B,C,F) back to main()

Main will print the average and the letter grade.

You must have 2 functions: one computes the average and the other finds the letter grade.

The average function should return back a Real value and the letter grade function should return back a string. All input and output must occur in main().

ONLY FIND AND DISPLAY THE LETTER GRADE FOR THE AVERAGE, NOT EACH TEST SCORE

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!