1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tanya [424]
4 years ago
6

The date June 10, 1960, 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 that asks the user to enter a month (in numeric form), 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.
Computers and Technology
1 answer:
Sati [7]4 years ago
5 0

Answer:

Explanation:

Let's do it in Python, we can start by prompting user for the inputs

month = int(input("Enter a month (in numeric): "))

day = int(input("Enter a day (in numeric): "))

year = int(input("Enter a 2-digit year: "))

# now check if the month times day equals the year:

if month * day == year:

    print("The date is magic")

else:

    print("The date is not magic")

You might be interested in
What is the different between information and data
Vika [28.1K]
Data is an individual unit that contains raw materials which do not carry any specific meaning. Information is a group of data that collectively carries a logical meaning.
7 0
3 years ago
Select the three business advantages of globalization.
Anna007 [38]

Answer:

There is increased collaboration in problem solving.

There are increased business opportunities.

It facilitates ease in communication

4 0
4 years ago
1.<br> Why do you need to use sources of information when writing a formal business<br> document?
Lera25 [3.4K]

Answer:

You need sources of information when writing a formal business document because, if the person receiving the document would like to see the full source you got your information from it could help them understand better what they are reading. Also it looks more professional.

Explanation:

4 0
3 years ago
The major computer operations include what?
Goryan [66]

Answer:

The major computer operations include sequence and looping. ... Visual Basic, C++, and Java are all examples of computer programming languages.

7 0
3 years ago
Name the wireless technology that may work with one device and not with another.
horsena [70]

Answer: Im guessing b

Explanation:

bc the other ones work devices.

7 0
3 years ago
Other questions:
  • Select the strategies below that are likely to increase audience attention.
    14·2 answers
  • If I make a Zoom Meeting, would you join it?
    7·2 answers
  • To apply a style to one or more elements on a web page, configure a css ________.
    5·1 answer
  • A database stores a large amount data in vertical ___
    10·1 answer
  • Insert the missing code in the following code fragment. This fragment is intended to read an input file named dataIn.txt and wri
    13·1 answer
  • How do you access the Control Panel?
    7·1 answer
  • Jin needs to add a row into his spreadsheet, but he does not want to remove any existing data. Which combination of options shou
    6·2 answers
  • Name the written test a potential driver must pass and list the minimum required score to earn a learner’s license.
    8·2 answers
  • Font size means the height of characters.<br>True<br>False​
    11·1 answer
  • Assslainsdffddsvvdesdssbhasasco5m
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!