Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Wondering how to find out when Easter will happen?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
badbwai




PostPosted: Thu Nov 06, 2008 6:59 pm   Post subject: Wondering how to find out when Easter will happen?

Well hi everyone!
I wanna create a program that can tell me when Easter will happen.
Like lets say, I put the year in & then it will give me the month and the day of Easter in that year.
I got an idea how to do it, but it always seem to fail.
I've done harder things than this before but this just seems to mess me up alot Sad
So if anyone can help me out on this, I'd appreciate it a lot!
How would I made this work?

Thanks in advance for the replies to come!
Sponsor
Sponsor
Sponsor
sponsor
Vertico




PostPosted: Thu Nov 06, 2008 8:02 pm   Post subject: Re: Wondering how to find out when Easter will happen?

Quote:
Easter is observed by the churches of the West on the first Sunday following the full moon that occurs on or following the spring equinox (March 21). Easter is a "movable" feast which can occur as early as March 22 or as late as April 25.


So pretty much, you will need to figure out the moon phases first. They may be a site out there that has the information.
BigBear




PostPosted: Thu Nov 06, 2008 8:07 pm   Post subject: Re: Wondering how to find out when Easter will happen?

Easter is the first sunday after the full moon.

Also found this with helpful comments
http://www.holidays.net/easter/eadates.htm
Insectoid




PostPosted: Thu Nov 06, 2008 8:16 pm   Post subject: RE:Wondering how to find out when Easter will happen?

This site may be useful:

http://homer.ugdsb.on.ca/teachersites/swynen/ICS3M/prim_types.htm
ScribbleS




PostPosted: Thu Nov 13, 2008 9:27 pm   Post subject: RE:Wondering how to find out when Easter will happen?

... is this a coincidence or... -stares suspiciously-
i have an assignment in my turing manual that asks me to find out what day Easter is on for any given year. its basically used as a practice program for div and mod. anyway, hope this helps!



easter.jpg
 Description:
my assignment, scanned
 Filesize:  165.9 KB
 Viewed:  90 Time(s)

easter.jpg


Insectoid




PostPosted: Thu Nov 13, 2008 9:32 pm   Post subject: RE:Wondering how to find out when Easter will happen?

Have you got the Turing reference manual or the Holtsoft CE manual? Or a different one?
ScribbleS




PostPosted: Sun Nov 16, 2008 6:24 pm   Post subject: RE:Wondering how to find out when Easter will happen?

uhhh...i think the reference manual
i'm taking TIK2O1 right now... you noe, the really noob one, so class gets really, REALLY boring...
(we're just starting loops. =.=")
Jack140




PostPosted: Sun Nov 16, 2008 9:27 pm   Post subject: Re: Wondering how to find out when Easter will happen?

Don't forget about leap years...
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Sun Nov 16, 2008 10:04 pm   Post subject: RE:Wondering how to find out when Easter will happen?

I saw once on TV that this guy ("The Human Calculator") was able to figure out every year that Easter fell on a wednesday between 19XX and 20XX in seconds, using only his brain.

Sure, that was a little off topic, but also a little on topic, and interesting to boot!

Edit: Youtube link: http://www.youtube.com/watch?v=NUsD2V6ijyQ
gitoxa




PostPosted: Sun Nov 16, 2008 10:21 pm   Post subject: RE:Wondering how to find out when Easter will happen?

Quote:
i'm taking TIK2O1 right now... you noe, the really noob one, so class gets really, REALLY boring...
(we're just starting loops. =.=")


We did the history of computers for the first half of the semester in that class. Looking back sure it was a good thing to learn (history is always awesome to learn) but hoooooooooly f*** was it boring haha.
DanielG




PostPosted: Mon Nov 17, 2008 7:34 am   Post subject: RE:Wondering how to find out when Easter will happen?

couldn't your teacher give you easy ones? like saying what day of the week the first day of the year.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 11 Posts ]
Jump to:   


Style:  
Search: