Using the following
Let X be the year
Let A be the reminder of the division of X by 19
Let B be the reminder of the division of X by 4
Let C be the reminder of division of X by 7
Let D be the reminder of the division of(19A+24) by 30
Let E be the reminder of the division of(2B +4C+6D+5) by 7
The date for easter is march(22 +D+E). Write a program that will accept the year input and print out the date of easter for that year
Please help me !!
Khang_1
0
Newbie Poster
Recommended Answers
Jump to PostThis all boils down to writing some statements.
Example: Let A be the reminder of the division of X by 19
Becomes in C# code:A = X % 19;
Try out the rest and see what you can come up with. Succes!O, and one of my snippets on …
All 3 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
ddanbe
2,724
Professional Procrastinator
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.