Question: For the following questions, develop the C++ program of each application. The program will not require an object-oriented programming style. 1. Develop a program
For the following questions, develop the C++ program of each application. The program will not require an object-oriented programming style. 1. Develop a program with a function qualityPoints that inputs a student's average in range 0 to 100, and returns corresponding quality points on 0 to 4 scale. Return 4 if a student's average is 90-100, 3 if the average is 80 - 89, 2 if the average is 70 - 79, 1 if the average is 60-69, and 0 if the average is lower than 60. Your program should use a for statement to receive 5 student's average scores. The output example is Enter the student's average: 90 90 on a 4 point scale is 4 Enter the student's average: 83 83 on a 4 point scale is 3 Enter the student's average: 77 77 on a 4 point scale is 2 Enter the student's average: 50 50 on a 4 point scale is 0 Enter the student's average: 64 64 on a 4 point scale is 1
Step by Step Solution
3.52 Rating (152 Votes )
There are 3 Steps involved in it
include using namespac... View full answer
Get step-by-step solutions from verified subject matter experts
