Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ The doomsday algorithm is a quick and simple way to determine the day of week of
(See [the Wikipedia page](https://en.wikipedia.org/wiki/Doomsday_rule) for more information)
This trainer provides you with random dates and times your attempt at finding the day of week.

## Usage

After running this program, use the following commands

### Available commands:

train - start the training

info - show the method

exit - exit the program

## Examples

2089-09-13
Expand All @@ -11,4 +23,4 @@ This trainer provides you with random dates and times your attempt at finding th

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