Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package grading;
  7.  
  8. /**
  9. *
  10. * @author Jamison Allen
  11. */
  12. public class Grading {
  13.  
  14. public static void main(String[] args) {
  15. int testScore = 0;
  16. int testscore = 0;
  17. if ( testScore > 80) {
  18. System.out.println( " You Passed " );
  19. System.out.println( " Excellent Work! " );
  20. }
  21. else if (testScore >= 70) {
  22. System.out.println( " You were close to Passing " );
  23. System.out.println( " Try Again " );
  24. }
  25. else if (testscore >= 50) {
  26. System.out.println( " You need more study more before re-testing " );
  27. }
  28. else {
  29. System.out.println(" You might consider getting a tutor " );
  30.  
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement