Question: Perform the following tasks: Read string fav _ flower, and integers char _ index 1 and char _ index 2 from input. Assign char 1
Perform the following tasks:
Read string favflower, and integers charindex and charindex from input.
Assign char with the character at index charindex of favflower.
Assign char with the character at index charindex of favflower.
Click here for example
Ex: If the input is:
verbena
then the output is:
Flower read: verbena
Selected characters: e a
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
