Question: In C++ Please! Given an input string on one line and two characters on the next line, replace the first character on the second line
In C++ Please!
Given an input string on one line and two characters on the next line, replace the first character on the second line of input with the second character provided.



Given an input string on one line and two characters on the next line, replace the first character on the second line of input with the second character provided. An example will make this clearer..... Sample input: His name is Steve and he's a good dude. S $ Sample output: His name i$ Steve and he's a good dude. You may not find the character in the input so no changes are made. main.cpp Load default template... 1 /* This assignment will ask the student to search an input string for 2 a specific character and replace that character with another character. 3 There will be zero or more existances of that character in the 4 input string. */ 5 6 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
