write the pseudocode to print the dayof a week
Answers
Answered by
1
Here is a standard method suitable for mental computation:
Take the last two digits of the year.
Divide by 4, discarding any fraction.
Add the day of the month.
Add the month's key value: JFM AMJ JAS OND 144 025 036 146.
Subtract 1 for January or February of a leap year.
Similar questions
Math,
2 months ago
English,
2 months ago
English,
6 months ago
Social Sciences,
11 months ago
English,
11 months ago