Question: solve in c++ quickly Task 1 Write a C+that contain two strings: String This program is to test several string functions. String2-Testing Perform following operations

 solve in c++ quickly Task 1 Write a C+that contain two

solve in c++ quickly

Task 1 Write a C+that contain two strings: String "This program is to test several string functions". String2-"Testing" Perform following operations on these strings: Print a new string "Testing: This program is to test several string function" using concatenation of string 1 and strin2. (Use String Concat function or +sign) Find the size of stringl and string2 using string function. Extract word "program" from stringl using string function. Insert a word "Program" in string2 like "Testing Program" using string function. Replace the word "Program" in string1 with string2 using string function. Erase word "program" from stringl using string function . . . Solution and output of Task 1>

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 Databases Questions!