Question: CHALLENGE ACTIVITY 3 . 1 4 . 1 : String access operations. 5 7 8 1 5 2 . 4 4 0 9 8 5

CHALLENGE ACTIVITY
3.14.1: String access operations.
578152.4409858.qx3zqy7
Jump to level 1
Given string inputText on one line and integers idx1 and idx2 on a second line, change the character at index idx1 of inputText to the character at index idx2.
Ex: If the input is:
tiger
20
then the output is:
titer

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