ok basically me and a friend are learning C language and we're totally stuck on this problem in the textbook and want to get around it before moving on.
We're totally useless so a nudge in the right direction or any help at all would be awesome.
heres the problem:
Write a program to compute and print the day of Easter Sunday in 2006. The output should be in the form:
Month m, day n.
Where m is the month number (3 for March, 4 for April), and n is the day in the month.
The date for Easter Sunday is March(22 + a + b), where
a = (19c + 24) remainder 30
b = (2d + 4e + 6a + 5) remainder 7
c = year remainder 19
d = year remainder 4
e = year remainder 7
If (22 + a + b) is greater than 31, the date is in April.
You will need to do a division and remainder to correct for this.
Make sure that your program also works for other years - including 1991, 1997 and 2018!