Question: Use C++ code please Given string userStr on one line and character fourthChar on a second line, change the fourth character of userStr to fourthchar.
Use C++ code please

Given string userStr on one line and character fourthChar on a second line, change the fourth character of userStr to fourthchar. Ex: If the input is: tiger k then the output is: tigkr Note: Assume the length of string userStr is greater than or equal to 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
