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 2
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 myFind0 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.
Exercise 2 Ask user to enter a string, such as

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!