Question: Here is a problem i need sloving. Write a program that takes nouns and forms their plurals on the basis of three rules: a. if

Here is a problem i need sloving.

Write a program that takes nouns and forms their plurals on the basis of three rules:

a. if noun ends in "y", remove the "y" and add "ies"

b. if noun ends in "s", "ch", or "sh", add "es"

c. In all other cases, just add "s".

Print each noun and its plural.

Try the following data: chair dairy boss circus fly dog church clue dish

Here is a problem i need sloving. Write a program that takes

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!