Computer Science, asked by shuklamamta5525, 17 days ago

Answer the given questions: MARKS Between 90 to 100 Between 80 to 90 Between 70 to 80 Between 60 to 70 Between 50 to 60 Less than 50 (5*2=10 GRADE A+ A E D 2. Write a Python program to enter a number and check if it is positive or negative. 1. C Write a Python program to print grades based on the marks attended by the students. Follow the above table to write the program. BBetween 90 to 100 A+ Between 80 to 90 A Between 70 to 80 B Between 60 to 70 C Between 50 to 60 D Less than 50 E​

Answers

Answered by rishita29gupta
0

Answer:

Explanation:

English=int(input("English="))

Hindi=int(input("Hindi="))

Science=int(input("Science="))

Maths=int(input("Maths="))

SSt=int(input("Sst="))

Total = English+Hindi+Science+Maths+SSt

print(Total)

Percentage=float(Total/5)

print(Percentage)

if (Percentage<=100 and Percentage>=90):

   print("A+")

if (Percentage<90 and Percentage>=80):

   print("A")

if (Percentage<80 and Percentage>=70):

   print("B")

if (Percentage<70 and Percentage>=60):

   print("C")  

if (Percentage<60 and Percentage>=50):

   print("D")

if (Percentage<50):

   print("E")              

Similar questions