Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A school has following rules for grading system:
- a. Below 25 - F
- b. 25 to 45 - E
- c. 45 to 50 - D
- d. 50 to 60 - C
- e. 60 to 80 - B
- f. Above 80 - A
- Ask user to enter marks and print the corresponding grade.
- #####################
- Take two int values from user and print greatest among them.
- ###################
- A student will not be allowed to sit in exam if his/her attendence 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement