Question: The date June 10, 1960, is special because when it is written in the following format, the month times the day equals the year: 6/10/60
The date June 10, 1960, 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 that asks the user to enter a month (in numeric form), a day, and a twodigit 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.
Step by Step Solution
3.47 Rating (157 Votes )
There are 3 Steps involved in it
Prompt the user to enter a month day and twodigit year month int... View full answer
Get step-by-step solutions from verified subject matter experts
