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/1960
Write a program that asks the user to enter a month (in numeric form, no forward slashes), a day, and a four-digit year. The program should then determine whether the month times the day equals the last two digits of 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.
Notes: NEED HELP! can't figure out how to eliminate the first two digit year to get the day*month=year answer
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here