Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1.         input = JOptionPane.showInputDialog("For which year would you like to "
  2.                 + "check the date of thanksgiving?");
  3.         start = Integer.parseInt(input);
  4.         Date thanks = test.getThanksgiving(start);
  5.         String thanksgiving = thanks.getLongDate();
  6.         System.out.println("In " + start + ",  Thanksgiving will be on "
  7.                 + thanksgiving + ".\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement