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 workedon
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 workedon string. If the string is
found, it will display the starting index position of the searched string in the workedon string.
This option will allow the user to insert a string at a specified index in the workedon string.
a append
This option will allow the user to append add a specified string at the end of the workedon string.
d delete
This option will search for a specified string in the workedon string. If the specified string is found, it will
eliminate it from the workedon string.
r replace
This option will allow the user to replace an existing string in the workedon 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
