Write a C++ program that accepts tens names and consequently remove the following expressions from each name: ‘in,’ ‘on,’ ‘el,’ ‘am’ and ‘er’. Ultimately display all the names after their specified modifications.

Hint: Use the erase and find string functions

Recommended Answers

All 2 Replies

So what do you have so far? No one is going to do you homeworkfor you.

do your homework itself okey

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.