Question: The date June 10, 1960, is special because when we write it in the following format, the month times the day equals the year. 6/10/60
The date June 10, 1960, is special because when we write it in the following format, the month times the day equals the year. 6/10/60 Write a program that asks the user to enter a month, a day, a two digit year integers. The program should create an instance of the Magic Date class to determine whether the date entered by the user is a magic date. If it is, the program should display a message saying the date is magic. Otherwise it should display a message saying the date is not magic.(I need the code to be written in java Script )
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
