subject

If you take the value of N as computed in exercise 2, subtract 621,049 from it, and then take that result modulo 7, you get a number from 0 to 6 that represents the day of the week (Sunday through Saturday, respectively) on which the particular day falls.

For example, the value of N computed for August 8, 2004, is 732,239 as derived previously. 732,239 βˆ’ 621,049 gives 111,190, and 111,190 % 7 gives 2, indicating that this date falls on a Tuesday.

Use the functions developed in the previous exercise to develop a program that displays the day of the week on which a particular date falls. Make certain that the program displays the day of the week in English (such as "Monday")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
You know the right answer?
If you take the value of N as computed in exercise 2, subtract 621,049 from it, and then take that r...
Questions
question
Mathematics, 23.03.2021 01:20
question
Mathematics, 23.03.2021 01:20
question
Mathematics, 23.03.2021 01:20
question
Mathematics, 23.03.2021 01:20
question
Biology, 23.03.2021 01:20
Questions on the website: 13722363