Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Fix a Java Program and Add Exception Handling to the program

kkrenichen
kkrenichen 


Fix the errors in the Scholarship java program, then be creative and incorporate “exception handling” in the program. Write detailed comments/notes on the program and the changes made. Attachments Tags Clarifications

Answers

Exception Handling

mariobeka
mariobeka 



Fixed the given java fila from the errors that it had, incorporated an exception handler and commented all the changes that I made. Attachments
Screen Shot 2015-12-07 at 16.05.33.png (69 K) Download Preview

Scholarship.java (2 K) Download Preview
Scanner sin = new Scanner(System.in); float averageGrade = 0; int extraActivities = 0; int extraService = 0; // Incorporated an Exception handler for invalid input try { System.out.println("Please enter he students high school grade point average using number format. (Ex. 3.5): "); averageGrade

Screenshots
Screenshot
Purchase Answer