Answered step by step
Verified Expert Solution
Link Copied!

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.
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.
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago