Question: CHALLENGE ACTIVITY 3 . 1 6 . 2 : Basic string manipulation. 5 4 3 3 1 6 . 3 2 7 1 4 4
CHALLENGE
ACTIVITY
: Basic string manipulation.
Jump to level
Given string workStr on one line, string newStr on a second line, and integer removeLen on a third line, characters in workStr with the contents of newStr.
Ex: If the input is:
Fuzzy bear
Happ
then the output is:
Happy bear
Note: Using a predefined string function, the solution can be just one line of code
#include
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
