Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. # Grade Calculator by Brandon Andre
  2.  
  3. clear
  4. echo "Grade Calculator"
  5. echo "By Brandon Andre \n"
  6.  
  7. echo "Enter grades using integers only. \n"
  8.  
  9. # Get assignment mark
  10. echo -n "Enter assignment mark (0 to 40):"
  11. read assignmentMark
  12.  
  13. # Get test 1 mark
  14. echo -n "Enter Test1 mark (0 to 15):"
  15. read test1Mark
  16.  
  17. # Get test 2 mark
  18. echo -n "Enter Test2 mark (0 to 15):"
  19. read test2Mark
  20.  
  21. # Get final exam mark
  22. echo -n "Enter Final Exam mark (0 to 30):"
  23. read examMark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement