My professor assigned us an "easy" project in his words for our intro to c programming class. we use visual studio.net 2003. I really have no idea where to start or what to do. Could someone help give me a jumpstart or something? heres the problem he wants us to write a program for:
The ACME company is producing a personal planner/scheduler and needs your help in producing its
automated calendar. It needs to populate holidays into its calendar and needs a program that will
compute the date for Easter for a given year. Your task is to write a program that will input a year and
will output the date (month and day) of Easter for that year.
It is possible to compute the date for any Easter Sunday from 1982 to 2048 using the following steps.
• Step 1: compute a as year % 19
• Step 2: compute b as year % 4
• Step 3: compute c as year % 7
• Step 4: compute d as (19a + 24) % 30
• Step 5: compute e as (2b + 4c + 6d + 5) % 7
• Step 6: compute f as d + e
The date for Easter Sunday, then, is f days after March 22. Note that it is possible that f is large
enough to correspond to a date in April.