Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment was locked Apr 2 8 at 1 1 : 5 9 pm . Now that we have gone over exception handling and methods,
This assignment was locked Apr at :pm
Now that we have gone over exception handling and methods, let's go back and create an improved version of Grade Tracker from week
General Requirements you should all know what these are. Comment with your name, now all methods with Java Doc comments
Specific Requirements:
The code must not crash. Use exception handling trycatch code to reject input like "qwerty" or "three point four" in response to the prompts.
The code must be modular. Write good methods and use them wisely.
The code must doing the comparison by rounding the decimal grade to one digit. So if you enter for the desired grade and as the current percentage, then the code should show you are on track.
Specifically, put the code for the grade check into it's own method that returns a boolean true if you are on track and false if your percentage is not on track. For example:
if gradeOnTrack targetGrade, currentPercent
System.out.printlnCongrats you are one track...
else
Design Process:
How many methods? What should they do What parameters should be passed into these methods? What should these methods return, if anything?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started