ClaviusReport - Software Development Report Clavius Easter...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Software Development Report Clavius Easter Date Calculator Name: N. Van Cleave (nkvancleave) and A. Mertz (aemertz) Assignment: Implement the Clavius Algorithm Date: January 9, 2006 1. Problem Summary. Given a year, determine the date upon which Easter falls for that year using the Clavius algo- rithm. 2. Specifications. input: a year, Year , an integer between 1752 and 5000 output: the month, (String, March or April ), and day (integer, 1 through 31) upon which Easter falls for the year, Year . 3. System Design and Detailed Design. General Algorithm: (a) Year = getYear(); (b) DetermineEaster(Year, Month, Day) (c) Display(Month, day) Detailed Algorithms: (a) getYear(); Prompt for and get the year, Year return Year (b) DetermineEaster(Year, Month, Day) Set Golden to (Year mod 19) + 1 Set Century to floor(Year /100) + 1 Set CalendarDifference to floor(3Century/4) - 12, Set MetonicCorrection to floor((8Century + 5)/25 - 5) Set Weekday to floor(5Year /4) - CalendarDifference - 10 Set Epact to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 2

ClaviusReport - Software Development Report Clavius Easter...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online