Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework 3: Magic Dates The date June 10, 2060, is special because when it is written in the following format, the month times the day

image text in transcribed
image text in transcribed
Homework 3: Magic Dates The date June 10, 2060, is special because when it is written in the following format, the month times the day equals the year: 6/10/60 Design a program (Homework-3A & Homework-3B that asks the user to enter (in numeric form): a month; a day; and a two-digit year. The program should then determine whether the month times the day equals the year. If so, it should display a message saying the date is magic Otherwise, it should display a message saying the date is not magic. Homework 3B: Valid Date Test Add to Homework-3A some additional code that will determine if the date that the user types in is indeeda valid date. . Your program should not even attempt to test to see if the date is a Magic Date if the date typed in is not a valid date. If it is a valid date, print out that the date is valid, then continue checking to see if it is a Magic Date Remember the following rules with respect to dates: 00year99 * 01

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Publishing With Filemaker Pro On The Web

Authors: Maria Langer

1st Edition

0201696657, 978-0201696653

More Books

Students also viewed these Databases questions