Question: CHALLENGE ACTIVITY 3 . 1 . 2 : String basics. 5 4 7 7 2 6 3 5 1 2 3 3 6 . 9
CHALLENGE
ACTIVITY
: String basics.
Jump to level
Perform the following tasks:
Read string favcolor, and integers charindex and charindex from input.
Assign char with the character at index charindex of favcolor.
Assign char with the character at index charindex of favcolor.
Click here for example
Note: Assume charindex and charindex are greater than and less than the length of favcolor.
I Your code goes here
printColor chosen: favcolor
printSelected characters: char char
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
