The algorithm for computing the date of Easter described in the previous problem can be extended…

The algorithm for computing the date of Easter described in the previous problem can be extended…


The algorithm for computing the date of Easter described in the previous problem can be extended…

The algorithm for computing the date of Easter described in the previous problem can be extended easily to work with any year from 1900 to 2099. There are four years, 1954, 1981, 2049, and 2076, for which the algorithm gives a date that is 7 days later than it should be. Modify the program for Problem 3 to check for these years and subtract 7 from the day of the month. This correction does not cause the month to change. Be sure to change the documentation for the program to reflect its broadened capabilities.

 

The algorithm for computing the date of Easter described in the previous problem can be extended…