Question: Using c++, Please write using cout and cin usin g namespace std; Homework Write a function qualityPoints that inputs a student's average and returns 4
Using c++,
Please write using cout and cin
usin
g namespace std;
Homework Write a function qualityPoints that inputs a student's average and returns 4 if the 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 Use the function to write a program that works like following: Enter your average grade.: 93 It is 4. Do you want to enter more grades (YIN)? Y Enter your average grade: 65 It is 1. Do you want to enter more grades (YIN)?N Bye
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
