Final answer:
To get input values into birthMonth and birthYear, use scnr.nextInt() twice and then output the values separated by a slash followed by a newline using System.out.println.
Step-by-step explanation:
To read input values into birthMonth and birthYear using scnr.nextInt(), you need to call this method twice, once for each variable. After obtaining these values from the user, you can then print them out in the specified format with a slash in between followed by a newline character.
Here's what the code in Java might look like:
int birthMonth = scnr.nextInt(); // Reads the first input for the month
int birthYear = scnr.nextInt(); // Reads the second input for the year
System.out.println(birthMonth + "/" + birthYear); // Outputs the month/year in the specified format
Make sure to use the nextInt() method for both birthMonth and birthYear, and use println to ensure that the output ends with a newline.