Question: Write the program in Python please!!!! Write a program that takes 3 integer inputs for month, day and year respectively and prints out the day

Write the program in Python please!!!!

Write the program in Python please!!!! Write a program that takes 3

Write a program that takes 3 integer inputs for month, day and year respectively and prints out the day of the week the given date falls on. The input for month shall be in the range 1-12 for January-December respectively. Additionally, the day of the week can be output to the console as an integer in the range 0-6 for Sunday-Saturday respectively. Use the following formula's: y0=y1214m - x0=y0+4y0100y0+400y0 - m0=m+12(1214m)2 - d0=(d+x0+1231m0)mod7 Where m,d and y represents the input values for month, day and year respectively and d0 represents the computed day of the week that the given date falls on. Additional Requirements: - Retain/use only whole part of division operations given in the formula - Import the given header script (i.e., header.py) to print program's user instructions A printout of the console after a sample run of the program is given below (see next page) - Input date: February 9, 2023- - Output day: 4 (i.e. Thursday)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!