4. Create a variable final_grade and assign it a value between 50 and 100. a) Print the associated letter grade based upon these ranges: Between 96 and 100 the letter grade is A Between 64 and 95 the letter grade is Passing Below 64 the letter grade is Not Passing b) Test program with these values for final_grade: 96, 95, 75, 64, 63 Output Example 75 is a grade of Passing.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter1: Fundamentals Of C++ Programming
Section1.3: Preliminary Three: Software Development
Problem 7E: (Statistics) This is the formula for the standard normal deviate, z, used in statistical...
icon
Related questions
Question
Please answer in python
4. Create a variable final_grade and assign it a value between 50 and 100.
a) Print the associated letter grade based upon these ranges:
Between 96 and 100 the letter grade is A
Between 64 and 95 the letter grade is Passing
Below 64 the letter grade is Not Passing
b) Test program with these values for final_grade: 96, 95, 75, 64, 63
Output Example
75 is a grade of Passing.
Transcribed Image Text:4. Create a variable final_grade and assign it a value between 50 and 100. a) Print the associated letter grade based upon these ranges: Between 96 and 100 the letter grade is A Between 64 and 95 the letter grade is Passing Below 64 the letter grade is Not Passing b) Test program with these values for final_grade: 96, 95, 75, 64, 63 Output Example 75 is a grade of Passing.
Expert Solution
steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
Mathematical functions
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning