Question: Algorithm: Given a 4 digit number representing a year, the day on which the 1st of January falls can be calculated using the following formula
Algorithm:
Given a 4 digit number representing a year, the day on which the 1st of January falls can be calculated using the following formula (Gaus's formula):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
