Read a percentage of a book each day
- Ruby
- Bundler
$ bundle
$ rackup
Input:
-
Total no. of pages a book has.
-
Percentage of the book to read each day.
Output(Estimate):
-
No. of pages to read each day.
-
No. of days it will take to finish reading the book.
-
Projected finish date.
{"pages":8,"days":26,"date":"02.Jan.2022"}
$ bundle exec rspec
PRs and issues accepted. See CONTRIBUTING.md
MIT