Question: In a script file, write a code that finds wheather a given numeric grade, G ( between 0 & 1 0 0 ) , is

In a script file, write a code that finds wheather a given numeric grade, G (between 0 & 100), is a passing of failing grade then determine the Letter Grade (LG) corressponding to this given numeric grade.
Start your code by defining the grade as G=78
Use the following criteria:
Pass/Fail Criterion:
If G>=70 status='Passed'
If G<70 status='Failed'
Letter Grade:
G >=90 LG= A
80<= G <90 LG = B
70<= G <80 LG = C
60<= G <70 LG = D
G <60 LG = F
Test your script with one value in each of the 5 ranges. (93,86,78,64,57) Your final submission should be with G set to 57.

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!