Saturday, August 1, 2015

2. Magic Dates

The date June 10, I960, is special because when \vc write it in the following format, the
month times the Jay equals the year:
6/10/60
Write a program that asks the user to enter a month |in numeric form!, a day, and a two digit
year. The program should then determine whether the month times the day is equal
to 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.



No comments:

Post a Comment