Question: Write a C++ program named hw1_1.cpp that finds a letter grade based on two scores. It prompts the user for two E xam scores. It

Write a C++ program named hw1_1.cpp that finds a letter grade based on two scores. It prompts the user for two E xam scores. It then will call a function to calculate the average, and then a different function to find a letter grade. You will write these two function. One is named find_avg(), which will take two double scores and return an average of the two scores. The other is named letter_grade() that will take a double score and then return a letter grade (so a character).

Write a C++ program named hw1_1.cpp that finds a letter grade basedon two scores. It prompts the user for two E xam scores.

The following shows a sample execution of your program. Note that the boldfaced numbers are entered by the user. Welcome to the grade calculator ****** *** Enter exam 1 Score: 85.3 Enter exam 2 score: 95.9 ********************** * **** 90.6 Your average score: Your grade: A I've written the main function for you. Do not modify it, just write the functions: #include using namespace std; [/function declaration/prototypes int main() { double scorel, score2, average; char grade; cout > scorel; cout > score2; cout

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!