Computer Science, asked by rdhumter400, 3 months ago

2.4 Write the formula to calculate Grade.
Marks > 60 , Then "First Division"
Marks < 60 and Marks >45, Then " Second Division
Marks <45 , then Fail​

Answers

Answered by rahulehh
1

mark = float(input("Enter Your Mark"))

if mark > 60 and mark <= 100:

           print("Your grade is First Division.")

if mark > 45 and mark <= 60:

           print("Your grade is Second Division.")

if mark <= 45:

           print("You're failed.")

Similar questions