Here, we will output the date of the Paschal full moon (using Servois notation), and Easter for 2020-2030
| 49 | // Here, we will output the date of the Paschal full moon (using Servois |
| 50 | // notation), and Easter for 2020-2030 |
| 51 | int main() { |
| 52 | std::cout << "The following are the dates of the Paschal full moon (using " |
| 53 | "Servois notation) and the date of Easter for 2020-2030 AD:\n" |
| 54 | "Year\tServois number\tEaster\n"; |
| 55 | |
| 56 | for (int year = 2020; year <= 2030; year++) { |
| 57 | std::cout << year << "\t\t" << computus(year, true) << '\t' |
| 58 | << computus(year) << std::endl; |
| 59 | } |
| 60 | } |
nothing calls this directly
no test coverage detected