Answered You can hire a professional tutor to get the answer.

QUESTION

Modify the Test Score application.(text book murach's java se6 chapt.2) In this exercise, you'll modify the Test Score application that's presented...

Modify the Test Score application.(text book murach's java se6 chapt.2)In this exercise, you’ll modify the Test Score application that’s presented infigure 2-19. That will give you a chance to write some code of your own.1. Open the file named TestScoreApp.java in the c:java1.6ch02 directory, andsave the program as ModifiedTestScoreApp.java in the same directory. Then,change the class name to ModifiedTestScoreApp and compile the class.2. Test this application with valid data to see how it works. Then, test theapplication with invalid data to see what will cause exceptions. Note that if youenter a test score like 125, the program ends, even though the instructions saythat the program ends when you enter 999.3. Modify the while statement so the program only ends when you enter 999.Then, test the program to see how this works.4. Modify the if statement so it displays an error message like “Invalid entry, notcounted” if the user enters a score that’s greater than 100 but isn’t 999. Then,test this change.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question