Question: Homework 3: Magic Dates The date June 10, 2060, is special because when it is written in the following format, the month times the day

 Homework 3: Magic Dates The date June 10, 2060, is special
because when it is written in the following format, the month times

Homework 3: Magic Dates The date June 10, 2060, is special because when it is written in the following format, the month times the day equals the year: 6/10/60 Design a program (Homework-3A & Homework-3B that asks the user to enter (in numeric form): a month; a day; and a two-digit year. The program should then determine whether the month times the day equals the year. If so, it should display a message saying the date is magic Otherwise, it should display a message saying the date is not magic. Homework 3B: Valid Date Test Add to Homework-3A some additional code that will determine if the date that the user types in is indeeda valid date. . Your program should not even attempt to test to see if the date is a Magic Date if the date typed in is not a valid date. If it is a valid date, print out that the date is valid, then continue checking to see if it is a Magic Date Remember the following rules with respect to dates: 00year99 * 01

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!