2.7 LAB: Count characters
Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase. The output should include the input character and use the plural form, n's, if the number of times the characters appears is not exactly 1.
Ex: If the input is:
the output is:
Case matters. n is different than N.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here