Question: Question 7 [5 points] Write a program that asks the user to enter a string then you have to check if character 's' appears within
Question 7 [5 points] Write a program that asks the user to enter a string then you have to check if character 's' appears within the string characters by outputting the index of the character if it is found otherwise output "the character is not found". For example you enter "my name is ahmad The output should be "the character is found in index 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
