Day of the Week Calculator For this assignment you will write a program that will allow you to enter a date and will output what day of the week that date fell on. Here is an example of how it should look when you run it: Enter a date (month day year): 3 5 2020 That day is a Thursday

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question

How would I write this code using Java?

EZEQUIEL CORDERO
Day of the Week Calculator
For this assignment you will write a program that will allow you to enter a date and will output what day of the week that date fell on.
Here is an example of how it should look when you run it:
Enter a date (month day year): 35 2020
That day is a Thursday
Note, there is a space between the month, day and year in the input, and it all appears on the same line.
Before getting into the nitty-gritty of
the assignment, there is some
interesting history regarding
calendars, and it can get pretty
GREGORIAN CALENDAR
ADOPTION DATES
complicated. It turns out that
calendars used to differ from one
Alaska
1767
RUSSIA
1918
UNITED
KINGDOM
and its colonies
1752
FRANCE 1582
PORTUGAL 1582
SPAIN 1582
GERMANY
Prussia 1610
Catholic States 1583
ESTONIA 1918
POLAND 1582
HUNGARY 1587
BULGARIA 1916
TURKEY 1927
CANADA
1752
country to the next. In 1582 the
modern Gregorian calendar was put
into use to fix the Julian calendar, but
UNITED
STATES
1752
CHINA
1912
JAPAN
1873
GREECE 1923
only by a few countries. Over the
AUSTRIA 1583
ITALY 1582
next 430 years or so all countries
10:18 AM
excent 4 weuld oventuallyadont the
11/30/2020
Transcribed Image Text:EZEQUIEL CORDERO Day of the Week Calculator For this assignment you will write a program that will allow you to enter a date and will output what day of the week that date fell on. Here is an example of how it should look when you run it: Enter a date (month day year): 35 2020 That day is a Thursday Note, there is a space between the month, day and year in the input, and it all appears on the same line. Before getting into the nitty-gritty of the assignment, there is some interesting history regarding calendars, and it can get pretty GREGORIAN CALENDAR ADOPTION DATES complicated. It turns out that calendars used to differ from one Alaska 1767 RUSSIA 1918 UNITED KINGDOM and its colonies 1752 FRANCE 1582 PORTUGAL 1582 SPAIN 1582 GERMANY Prussia 1610 Catholic States 1583 ESTONIA 1918 POLAND 1582 HUNGARY 1587 BULGARIA 1916 TURKEY 1927 CANADA 1752 country to the next. In 1582 the modern Gregorian calendar was put into use to fix the Julian calendar, but UNITED STATES 1752 CHINA 1912 JAPAN 1873 GREECE 1923 only by a few countries. Over the AUSTRIA 1583 ITALY 1582 next 430 years or so all countries 10:18 AM excent 4 weuld oventuallyadont the 11/30/2020
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education