Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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).
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: #includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started