Question: Write a programto using the principle of control structures (if /else statements) determine which the students grade, based on the marks numbers entered by the
Write a program to using the principle of control structures (if /else statements) determine which the students grade, based on the marks numbers entered by the user (Using the table below). (10pts)
From | To | Grade |
90 | 100 | A |
80 | 89 | B |
70 | 79 | C |
0 | 69 | F |
b. Write an algorithm to determine the average of any five (5) numbers and display the below after: The sum, the product and the average. (10pts)
c. Describe what is a variable and how is it used in a program.(5pts)
Step by Step Solution
There are 3 Steps involved in it
a Algorithm Prompt the user to enter the students marks If the marks are greater ... View full answer
Get step-by-step solutions from verified subject matter experts
