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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started