Question: Write at C + + program . Please use C type strings ( array representation of strings ) . Write a program that will ask

Write at C++ program .Please use C type strings (array representation of strings).
Write a program that will ask the user to enter a string. It will then regard that string as a worked-on
string and allow the user to perform the following editing functions on it:
s search
i insert
a append
d delete
r replace
e exit
I insert
This option will allow the user to search for a specified string in the worked-on string. If the string is
found, it will display the starting index (position) of the searched string in the worked-on string.
This option will allow the user to insert a string at a specified index in the worked-on string.
a append
This option will allow the user to append (add) a specified string at the end of the worked-on string.
d delete
This option will search for a specified string in the worked-on string. If the specified string is found, it will
eliminate it from the worked-on string.
r replace
This option will allow the user to replace an existing string in the worked-on string with a specified
string.
e exit
This option will result in ending the program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!