Computer Science, asked by wwwbengao19181, 9 months ago

Following code is meant to be an interactive grade calculation script that converts from a percentage into a letter grade :
90 and above is A+,
80-90 is A,
60-80 is A-,
and everything below is fail.
Write the program to display grade of a user ?

Answers

Answered by shakshi88
0

Answer:

please mark as brainliest answer please

Answered by mad210219
0

Interactive grade calculation script

Explanation:

We have to input the percentage  

And the we have to compare and find out in which range the percentage lies between

Pseudo code

If(per>90):

A+ grade

Elif(80<per<90):

A grade

Elif(60<per<80):

A- grade

PYTHON PROGRAM:

Percent=float(input(“enter percentage”))

If(Percent>90):

  print(“grade is A+”)

elif(Percent>80 and Percent<90):

  print(“grade is A”)

elif(Percent>60 and Percent<80):

  print(“grade is A-“)

OUTPUT:

Enter percentage 93

Grade is A+

Enter percentage 61

Grade is A-

Enter percentage 81

Grade is A

Similar questions