Question: If you look closely at the sample output for Problem 2 , you will notice that the output from the print statements would not be

If you look closely at the sample output for Problem 2, you will notice that the output from the print statements would not be grammatically correct if any of the values being printed were equal to 1(i.e."1 days," "1 hours," "1 minutes," or "1 seconds"). For extra credit, correct this issue. Remember, however, that your code should also be generalized enough to handle additional cases beyond the numbers in the sample runs: in other words, your code should be able to handle the correct grammar for any of the test cases we try when we grade your code.
If you choose to attempt the extra credit, include it as a separate portion of your solution for Problem 2. Include in your solution code for both the printing of the original prompt and code for the printing of the extra credit. To facilitate the grading of the extra credit, include the following sections in your code:
% Printing Process for the Original Prompt
(Your code for the requested printing in the original prompt would appear here)
% Printing Process for the Extra Credit Prompt
(Your code for the requested printing in the extra credit prompt would appear here)
Your attempt for the printing of the original prompt and for the printing of the extra prompt will then be evaluated separately.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!