A new feature is to be implemented in Kindle. FEATURE : The user inputs the no. of days in which he would like to complete a particular book and the Kindle will create a reading plan for the user.
Write an algorithm which will output the reading plan to the user. The reading plan should be created keeping in mind that the user would like to begin and end reading a particular “chapter” of the book on the same day.
Day=input("Number of days")
take(NumberOfPagesLeft, Today, Day)
Plan=NumberOfPagesLeft/(Day-Today)
output("You should read "+Plan+" pages a day")
Comments
Leave a comment