Write codes to transform a given score to GPA following the rules shown in the right table. Submit the screenshot of your test results and check if it's what you expected.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter2: Problem Solving Using C++using
Section2.3: Data Types
Problem 9E: (Practice) Although the total number of bytes varies from computer to computer, memory sizes of...
icon
Related questions
Question
Score
GPA
e.g.
Exercise 4.3
= 100
5.0
99: GPA is4.9
290
24.0
92: GPA is4.2
91: GPA is4.1
Write codes to transform a
90: GPA is4.0
given score to GPA following the
89: GPA is3.9
rules shown in the right table.
280
2 3.0
82: GPA is3.2
81: GPA is3.1
Submit the screenshot of your
80: GPA is3.0
test results and check if it's what
79: GPA is2.9
you expected.
2 70
2 2.0
72: GPA is2.2
71: GPA is2.1
For example,
70: GPA is2.0
69: GPA is1.9
if score=76, then GPA=2.6
if score=88, then GPA=3.8
2 60
21.0
62: GPA is1.2
61: GPA is1.1
if score=32, then GPA=0
60: GPA is1.0
59: GPA is 0
< 60
44: GPA is 0
Transcribed Image Text:Score GPA e.g. Exercise 4.3 = 100 5.0 99: GPA is4.9 290 24.0 92: GPA is4.2 91: GPA is4.1 Write codes to transform a 90: GPA is4.0 given score to GPA following the 89: GPA is3.9 rules shown in the right table. 280 2 3.0 82: GPA is3.2 81: GPA is3.1 Submit the screenshot of your 80: GPA is3.0 test results and check if it's what 79: GPA is2.9 you expected. 2 70 2 2.0 72: GPA is2.2 71: GPA is2.1 For example, 70: GPA is2.0 69: GPA is1.9 if score=76, then GPA=2.6 if score=88, then GPA=3.8 2 60 21.0 62: GPA is1.2 61: GPA is1.1 if score=32, then GPA=0 60: GPA is1.0 59: GPA is 0 < 60 44: GPA is 0
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

can it be solved using python?

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Multiple table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr