+ 1

Any one have answer?

According to Gregorian calendar, it was Monday on the date 01/01/01.If any year Is input through the keyboard write a program to find out what is the day on 1st January of this year.

1st Feb 2019, 9:38 PM
Rushi
3 odpowiedzi
+ 2
What do you mean by this? Answer what? Please be precise with your question. https://www.sololearn.com/discuss/1316935/?ref=app
1st Feb 2019, 9:43 PM
JTLZ
+ 1
This what I can give you: In year 0 (should exist) it would be a saturday because: On a not-divisible-by-4-year the day will shift 1 day On a divisible-by-4-year the day will shift 2 days so: Y 01 : monday Y 02 : tuesday Y 03 : wednesday Y 04 : thursday Y 05 : saturday Y 06 : sunday Y 07 : monday Y 08 : tuesday This will go on untill Y 56, and at 57 it will start again with the same as 01
1st Feb 2019, 10:13 PM
Roel
Roel - avatar
0
I really don't know how to solve the question... I didn't get it correctly...
1st Feb 2019, 9:45 PM
Rushi