Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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