• Exercise 5
     
    • Create program that rates users calculations for three(3) math exams.
      Each calculation is worth of 5 points max. Program then show the result (0-15) how well user did:
       
      •  0  = failed
      •  1  - 5 = weak
      •  6  - 10 = average
      • 11 - 14 = good
      • 15 = excellent.
         
    • Program warns if points are incorrect and verifies if user wishes to continue.
    • For example:
       
      • if user gets 3 points for 1st exam, 4 points for 2nd and 1 point for 3rd,
        the result is 3 + 4 + 1 = 8, which is average.
    • Example program, that need class Lue to function properly
    • Hints:
  • Java Tutorial / Learning the Java Language / Language Basics
     
  • Back