Question: C++ ONLY CODE Write a program whose input is a character and a string, and whose output indicates the number of times the character appears

C++ ONLY CODE
Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. The output should include the input character and use the plural form, ns, if the number of times the characters appears is not exactly 1. Ex: If the input is: \begin{tabular}{l|l} LAB & 12.6.1LAB: Count characters \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
