Question: Write a program that starts like... let thing='cat'; let count = 5; and outputs the pluralized form of the word, depending on what count

Write a program that starts like... let thing='cat'; let count = 5;















Write a program that starts like... let thing='cat'; let count = 5; and outputs the pluralized form of the word, depending on what count is. For example, "5 cats" or "1 dog". Change thing to different values to test your code! Requirements Your program should pluralize the word based on an integer (count)

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 Programming Questions!