The Artima Developer Community
Sponsored Link

Java Answers Forum
calculating easter sunday

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
john

Posts: 4
Nickname: dcool
Registered: Jul, 2004

calculating easter sunday Posted: Jul 21, 2004 5:05 AM
Reply to this message Reply
Advertisement
hi
i am finding it difficult to write this programm. i need help.the prgramm;s below#;

write an application that inputs the year and outputs the date (month and day) of easter sunday for that year. from 1982 to 2048.
all variables are of type int
a is year%19
b is year%4
c is year%7
d is (19*a+24)%30
e is (2*b+4*c+6*d+5)%7
day of month is (22+d+e).

Thanks

Topic: how to draw different color lines Previous Topic   Next Topic Topic: Java applets

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use