Question: with java versity 1931 SHEET 3 1) Write a program that asks the user to enter the date in the form (day, month, year) Check
versity 1931 SHEET 3 1) Write a program that asks the user to enter the date in the form (day, month, year) Check if the day is between 1 and 31 If not correct print not valid day And the month between 1 and 12 If not correct print not valid month If all valid numbers then print the date: day/month/year Example: Enter the day: 3 Enter the month 15 Not valid month Enter the day: 3 Enter the month 11 Enter Year: 2014 The date is 3/11/2014
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
