Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
Noun chair dairy boss Plural chairs dairies bosses circus circuses fly dog church flies dogs churches 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started