Question: Exercise 2 Ask user to enter a string, such as Computer Science, then ask user to enter a single character, like e . Pass both
Exercise
Ask user to enter a string, such as Computer Science, then ask user to enter a single character, like e Pass both inputs to the myFind function, which will print the index or indices where the character appears in the string. Additionally, print the total number of times the character appears in the string.
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
