Exercise 20: Student Average

Date completed: 06/12/2017

Write a method qualityPoints that inputs a student’s average and returns 4 if it’s 90–100, 3 if 80–89, 2 if 70–79, 1 if 60–69 and 0 if lower than 60. Incorporate the method into an application that reads a value from the user and displays the result.

The Created Code

The source code can be found here. It has been compressed in to a 7-Zip file.

Some screen prints

Description Screen Print Out
The output as seen in NetBeans. java_s05_ex20 image