The first day of August 2006 was a Tuesday. In a new directory, ex4, write a program which takes a day number for that month as input and outputs the day of the week. The command line might be
java August 12
and the result would then be
Saturday
Output an error message if an invalid day number is input.
Hint: Use a switch statement.