Question: C++ program that reads input.txt CHALLENGE PROBLEM #4 Write a program that takes nouns from an input file and forms their plural form on the

C++ program that reads input.txt

C++ program that reads input.txt CHALLENGE PROBLEM #4 Write a program that

CHALLENGE PROBLEM #4 Write a program that takes nouns from an input file and forms their plural form on the basis of these rules: -If noun ends in "y", remove the "y" and add ies" If noun ends in "s", "ch" or "sh", add "es" - In all other cases, just add "s" Input.txt Sample run: Plural of church is churches. Plural of flower Is flowers Plural of diary is diaries church flower diary FILENAME: prog2ch04. Surname.cpp

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!