MCPcopy Create free account
hub / github.com/algorithm-archivists/algorithm-archive / main

Function main

contents/computus/code/c/gauss_easter.c:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int main() {
54 char tmp1[9], tmp2[9];
55
56 printf("The following are the dates of the Paschal full moon (using "
57 "Servois notation) and the date of Easter for 2020-2030 AD:\n");
58
59 printf("Year\tServois number\tEaster\n");
60
61 for (int year = 2020; year <= 2030; year++) {
62 printf("%d\t\t%s\t%s\n", year, computus(year, 1, tmp1, 9),
63 computus(year, 0, tmp2, 9));
64 }
65
66 return 0;
67}
68

Callers

nothing calls this directly

Calls 1

computusFunction · 0.70

Tested by

no test coverage detected