subject

Day of the week. This program takes in three integers, representing day month year in that order, and should output the day of the week associated with the given date. The formula used to calculate the date is: day is the day of the month (1, 2, 3, etc.).
weekday (day + month + 1) = 24) - warport - warpers | Lantury ) +5 o century)
century is equal to (year / 100). For 2019, century would be 20. years part is the year within the century (year mod 100).
month is the month of the year, we typically associate the months as January. For 2019, year would be 19.
March = 3, etc. This is the case for this program for all cases except for January and February. Due to the way the formula works, specifically January and February must be entered into the above formula as months 13 and 14 of the previous year. This is to say that if you wanted to know which day of the week January 5, 1997 fell on, you would need month = 13, day = 5, year = 1996 when the values enter the formula. Your program should take them in as regular format 5 1 1997 and treat them differently once they have been read.
β€’ The value weekday resulting from the equation will be a number [0,6] where Saturday = 0, Sunday = 1, etc.
The output of your program should be a single string name of the appropriate weekday. If the formula outputs 0, your output will be Saturday and so on.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Asoftware company hired ray, a college graduate to work in their development team. ray is assigned to work in the coding phase of a project. what happens during the coding phase of a software development project? a. the customer receives a working model of the software. b. developers convert the program design into code. c. developers gather requirements directly from the stakeholders. d. testing teams check the product for quality.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 βˆ’ x3 + 3x4 βˆ’ x5 = 6 x1 βˆ’ 3x2 + x3 + 2x4 βˆ’ x5 = βˆ’6 2x1 + x2 + x3 βˆ’ 3x4 + x5 = 3 x1 βˆ’ x2 + 2x3 + x4 βˆ’ x5 = βˆ’3 2x1 + x2 βˆ’ x3 + 2x4 + x5 = 5
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
You know the right answer?
Day of the week. This program takes in three integers, representing day month year in that order, an...
Questions
question
Mathematics, 30.03.2020 23:04
question
Physics, 30.03.2020 23:04
question
Mathematics, 30.03.2020 23:04
Questions on the website: 13722361