Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

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 Coupon Code "Newclient"