Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases 11th British National Conference On Databases Bncod 11 Keele Uk July 7 9 1993 Proceedings Lncs 696

Authors: Michael F. Worboys ,Anna F. Grundy

1993rd Edition

3540569219, 978-3540569213

More Books

Students also viewed these Databases questions

Question

1. What is Ebola ? 2.Heart is a muscle? 3. Artificial lighting?

Answered: 1 week ago

Question

4-6 Is there a digital divide? If so, why does it matter?

Answered: 1 week ago