birthMonth followed by birthYear

Write two statements to read in values for birthMonth followed by birthYear, separated by a space. Write a statement to print the date using the format birthMonth/birthYear. Do not end with a newline. Ex:

1 2000   (User's input)
1/2000   (Program's output)

import java.util.Scanner;

public class InputExample {

  public static void main(String [] args) {

   Scanner scnr = new Scanner(System.in);

   int birthMonth = 0;

   int birthYear = 0;

   /* Your solution goes here */

   return;

  }

}

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"