You are on page 1of 1

Tasks:

1. A school has following rules for grading system:


a. Below 50 - F
b. 50 to 55 - E
c. 56 to 60 - D
d. 61 to 65 - C
e. 66 to 70 - B
f. 71 to 80 – A
g. Above 80-A+
Ask user to enter marks and print the corresponding grade.
2. Take input of age of 3 people by user and determine oldest and
youngest among them.
3. A student will not be allowed to sit in exam if his/her attendance is
less than 75%.
Take following input from user
Number of classes held
Number of classes attended.
And print
percentage of class attended
Is student is allowed to sit in exam or not.
4. Take a number as input and check the number is even or odd.
5. Take a number as input and check the number is positive or
negative.

You might also like