Computer Science, asked by mnh9075, 6 months ago

8.The 1st day of April 2020 was Wednesday.Write a program to input any day number
within the month of April and print which day was it.

Answers

Answered by Anonymous
2

please thank my answers dear please please

Attachments:
Answered by keyboardavro
1

Answer:

The Key Value Method

Take the last 2 digits of the year. ...

Divide by 4, and drop any remainder. ...

Add the day of the month. ...

Add the month's key value, from the following table. ...

If your date is in January or February of a leap year, subtract 1. ...

Add the century code from the following table.

Explanation:

Similar questions