Create a C++ program that takes a course score (a value between 0 and 100) and determines a student's course grade. The program has three functions: main, getScore, and printGrade, as follows: 1. main Get the course score. Print the course grade. 2. Get Score Prompt the user for the input. Get the input. Print the course score. 3. Print Grade Calculate the course grade. Print the course grade. For the course grade: Percent Grade 96-100 Course Grade 1.00 90-95.99 1.25 84-89.99 1.50 1.75 2.00 2.25 78-83.99 72.77.99 66-71.99 60-65.99 55-59.99 50-54.99 40-49.99 Below 40 2.50 2.75 3.00 4.00 5.00 Test Case 1: Enter course score: 85.24 Course score is 85.24 Your grade for the course is 1.50.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Create a C++ program that takes a course score (a value between 0 and 100) and
determines a student's course grade. The program has three functions: main, getScore, and
printGrade, as follows:
1. main
Get the course score.
Print the course grade.
2. Get
Score Prompt the user for the input.
Get the input.
Print the course score.
3. Print
Grade Calculate the course grade.
Print the course grade.
|
For the course grade:
Percent Grade
Course Grade
96-100
1.00
90-95.99
84-89.99
78-83.99
1.25
1.50
1.75
72.77.99
2.00
66-71.99
60-65.99
2.25
2.50
2.75
55-59.99
50-54.99
40-49.99
Below 40
3.00
4.00
5.00
Test Case 1:
Enter course score: 85.24
Course score is 85.24
Your grade for the course is 1.50.
Test Case 2:
Enter course score: 39.24
Course score is 39.24
Your grade for the course is 5.00.
Transcribed Image Text:Create a C++ program that takes a course score (a value between 0 and 100) and determines a student's course grade. The program has three functions: main, getScore, and printGrade, as follows: 1. main Get the course score. Print the course grade. 2. Get Score Prompt the user for the input. Get the input. Print the course score. 3. Print Grade Calculate the course grade. Print the course grade. | For the course grade: Percent Grade Course Grade 96-100 1.00 90-95.99 84-89.99 78-83.99 1.25 1.50 1.75 72.77.99 2.00 66-71.99 60-65.99 2.25 2.50 2.75 55-59.99 50-54.99 40-49.99 Below 40 3.00 4.00 5.00 Test Case 1: Enter course score: 85.24 Course score is 85.24 Your grade for the course is 1.50. Test Case 2: Enter course score: 39.24 Course score is 39.24 Your grade for the course is 5.00.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY