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

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
Get step-by-step solutions from verified subject matter experts
