Design and run a program that takes a numerical score and


Question: Design and run a program that takes a numerical score and outputs a letter grade. Precise numeral scores and letter grades are listed show.

In this program, create two void functions titled getScore and printGrade with an int argument. The function getScoreshould have a Reference parameter and printGrade should have a Value parameter.

90-100   =             Grade A

80-89     =             Grade B

70-79     =             Grade C

60-69     =             Grade D

0-59       =             Grade F

The function getScore will prompt the user for the numerical score, get the input from the user, and print the numerical score.

The function printGrade will calculate the course grade and print the course grade.

(Be careful and note that the assignment needs you to input the grade into getScore and not directly into the main function.)

Do not forget to put in the proper prompts and appropriate output messages.

(Note: This program is a natural for use of the switch command, but if?else structures will also work.)

I am having difficulty with this program because I do not know where to start with:

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Design and run a program that takes a numerical score and
Reference No:- TGS0956998

Expected delivery within 24 Hours