Computer Science, asked by shaikkaif7794951006, 4 months ago

write the pseudocode to print the dayof a week

Answers

Answered by Anonymous
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