Question: Ex: If the input is: Lee 1 8 Lua 2 1 Mary Beth 1 9 Stu 3 3 - 1 then the output is: Lee

Ex: If the input is:
Lee 18
Lua 21
Mary Beth 19
Stu 33
-1
then the output is:
Lee 19
Lua 22
Mary 0
Stu 34
524946.2182666.qx3zqy7
LAB ACTIVITY
15.8.1: LAB: Exception handling to detect input String vs. Integer
0/10
NameAgeChecker.java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!