Question: Structure of the program : char* change_to_plural ( char* input_string ); // Implement this function void main() { //Declare required variables //Read string //Convert word

Structure of the program:
char* change_to_plural ( char* input_string ); // Implement this function
void main() {
//Declare required variables
//Read string
//Convert word read to represent plural by calling function
//Print the plural word
}
URGENT simple c++
Write and test a function that takes nouns and return their plurals based on the following rules 1. if noun ends in y remove the y and add ies. 2. if noun ends in s or sh add es 3. all other cases just add s. Print each noun and its plural. Try the following nouns. chair diary boss circus fly dog clue dish Structure of the program: char* change to plural (char* input string); // Implement this function void main() { //Declare required variables //Read string //Convert word read to represent plural by calling function //Print the plural word }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
