subject

(science: day of the week) zeller’s congruence is an algorithm developed by christian zeller to calculate the day of the week. the formula is h = (q + 26(m+1)//10 + k + k//4 +j//4 +5j) % 7 where - h is the day of the week (0: saturday, 1: sunday, 2: monday, 3: tuesday, 4: wednesday, 5: thursday, 6: friday). - q is the day of the month. - m is the month (3: march, 4: april, 12: december). january and february are counted as months 13 and 14 of the previous year. - j is year//100. - k is the year of the century (i. e., year % 100). write a program that prompts the user to enter a year, month, and day of the month, and then it displays the name of the day of the week.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
question
Computers and Technology, 23.06.2019 12:40
According to the video what are some tasks petroleum engineers perform check all that apply
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
You know the right answer?
(science: day of the week) zeller’s congruence is an algorithm developed by christian zeller to cal...
Questions
question
Biology, 04.04.2020 09:54
Questions on the website: 13722367