Question: Jump to level 1 Given string inputString on one line and integer strIndex on a second line, change the character at index strIndex of inputString
Jump to level
Given string inputString on one line and integer strIndex on a second line, change the character at index strIndex of inputString to
h
Ex: If the input is:
eagle
then the output is:
eaglh
Note: Assume the length of string inputString is greater than strIndex.
#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
