Question: Create a program in C that helps students with their grammar. The program will prompt the user to enter a list of up to 10

Create a program in C that helps students with their grammar.
The program will prompt the user to enter a list of up to 10 nouns followed by Enter or Return Key. The program will then print to the screen (in table form) the original list of nouns and its plural noun form. (See picture)
The program will use the following rules:
If the noun ends in a y, remove the y and add ies.
If noun ends in s, ch, or sh add es.
In all other cases add s.
For test input use: chair, dairy, boss, circus, fly, dog, church, clue, dish
The screen output should display as below.
 Create a program in C that helps students with their grammar.

Noun chair dairy boss Plural chairs dairies bosses circus circuses fly dog church flies dogs churches

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!