Question: 3 . 1 . 2 : String basics. 5 7 8 7 5 8 . 4 2 5 8 8 7 2 . q 3
: String basics.
Jump to level
Perform the following tasks:
Read string favfruit, and integers charindex and charindex from input.
Assign char with the character at index charindex of favfruit.
Assign char with the character at index charindex of favfruit.
Click here for example
Ex: If the input is:
jujube
then the output is:
Fruit chosen: jujube
Selected characters: j u
Note: Assume charindex and charindex are greater than and less than the length of favfruit.
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
