SLP assignment
Write a Java application that accomplishes the following tasks.
1) Ask the number of homework assignments students have submitted in a semester
2) Calculate the letter grade the student has earned based on the average of these assignments.
Note:
1) Assume the full score for each assignment is 100. Student will get 0 for each un-submitted assignment.
2) Student’s letter grade is based on the average of all their assignments
90 — 100 A
80 — 89 B
70 — 79 C
60 — 69 D
0 — 60 F
3) The program needs to have built in Exception handling.
After you are done, zip “compress” the source file along with a screen shot of the output and submit.
SLP assignment expectations
You are expected to understand and apply proper data structures in solving te programming task. Complete exception handling should be in place to protect the program from crashing due to invalid inputs.
Required Readings & Resources
- Jenkov, J. (n.d.) Introduction to Java Exception Handling. Retrieved from http://tutorials.jenkov.com/java-exception-handling/index.html
- Churchey, S. A. J. (2005) Exception handling in java. Retrieved from http://www.osix.net/modules/article/?id=754