Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions