user enters a number "3" Day after 3 days is "Thursday"">

Details of this Paper

Today is example "monday" Tomorrow is "Tuesday" Previous day is "Sunday" Enter the number of days to add in current day >user enters a number "3" Day after 3 days is "Thursday"

Description

solution


Question

Today is example "monday";Tomorrow is "Tuesday";Previous day is "Sunday";Enter the number of days to add in current day;user enters a number "3";Day after 3 days is "Thursday";I need these elements added to this code;1. prompt for user input to enter a day - example user inputs monday;2. program returns the previous day, the next day, and the second next day - user entered monday - returns: "next day is tuesday", "the next day after this is wednesday", "previous day was sunday";3. prompt for user to enter number of days to add to the above entered day and returns the day that would fall after that number - example - prompt - enter number of days - user inputs 3 - returns "your day entered was Monday (from above), three days from Monday is Thursday, the next day after this is Friday";4. please add comments for all code and please review existing comments and add or edit as needed so that entire program has adequate comments to explain how everything works

 

Paper#63303 | Written in 18-Jul-2015

Price : $32
user enters a number "3" Day after 3 days is "Thursday"">
SiteLock