Question: 1. Write a program that inputs a sentence from the user and then inputs a character ch from the user. Then it calls a function,

1. Write a program that inputs a sentence from the user and then inputs a character ch from the user. Then it calls a function, which counts the number of occurrences of the character ch in the sentence. Finally, it should print out the result of calling the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
