Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 Special. Otherwise display NOT 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

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