Question: Write two scnr.nextint statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slast, and the year.
Write two scnr.nextint statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slast, and the year. End with newline. Ex If the input is 12000 , the output is: 1/2000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
