The makeCatalog function that we create in this chapter has a couple of significant errors. There

Question:

The makeCatalog function that we create in this chapter has a couple of significant errors.

• There should be a space in the title after the colon and before the product name. Fix that.

• The grammar of the example is awful, because the product we provided is plural (“Seahorses”) but the text assumes a singular product. Fix it so that the text is right for the number of the input. There are several ways to fix this problem. One way is to take in a boolean input for singular or plural, then change the text accordingly. Another way is to create two catalog page generators, one for singular and one for plural, then let the user decide which to use. Implement one of these.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: