Question: Language: Java The date June 10 1960 is special because when it is written in the form: month times day it will equal to the
Language: Java
The date June 10 1960 is special because when it is written in the form: month times day it will equal to the year (last two digits only). For example, 6 (for June) times 10 (day 10) equals 60 (the last two digits of year 1960).
Write program to prompt user to enter month as an integer, day as an integer and a 2-digits integer for the year. No need to validate these input. Only test for being special or not later! Then determine if it is a special date or not. If values entered happens to be a Special Date then display all values and indicated that it is SpecialDate. Otherwise display NOT a Special date
Note: You will display value for month, day and year regardless if it is special or not.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
