Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

Comert the kopeth to its eyuivaleot in nanoweters

Answered: 1 week ago