Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
1,194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. A school has following rules for grading system:
  2. a. Below 25 - F
  3. b. 25 to 45 - E
  4. c. 45 to 50 - D
  5. d. 50 to 60 - C
  6. e. 60 to 80 - B
  7. f. Above 80 - A
  8. Ask user to enter marks and print the corresponding grade.
  9.  
  10. #####################
  11.  
  12. Take two int values from user and print greatest among them.
  13.  
  14. ###################
  15. A student will not be allowed to sit in exam if his/her attendence is less than 75%.
  16. Take following input from user
  17. Number of classes held
  18. Number of classes attended.
  19. And print
  20. percentage of class attended
  21. Is student is allowed to sit in exam or not.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement