Skip to content

eric-ycw/doomsday-trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

doomsday-trainer

The doomsday algorithm is a quick and simple way to determine the day of week of any given date. (See the Wikipedia page for more information) This trainer provides you with random dates and times your attempt at finding the day of week.

Examples

2089-09-13
Input day of week (0 for Sunday, 1 for Monday etc.): 0
Incorrect. The answer is Tuesday.

2057-06-14
Input day of week (0 for Sunday, 1 for Monday etc.): 4
Correct! Your time was 2.5611350536346436 seconds.

About

Trainer for the doomsday algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages