(Solved) : 412 Lab Count Characters Write Program Whose Input Character String Whose Output Indicates Q44113717 . . .

4.12 LAB: Count characters 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 Ex: If the input is: n Monday, the output is: Ex: If the input is: z Today is Monday, the output is: Ex: If the input is: n It’s a sunny day, the output is: Case matters. Ex: If the input is: n Nobody, the output is: n is different than N. Show transcribed image text 4.12 LAB: Count characters 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 Ex: If the input is: n Monday, the output is: Ex: If the input is: z Today is Monday, the output is: Ex: If the input is: n It’s a sunny day, the output is: Case matters. Ex: If the input is: n Nobody, the output is: n is different than N.
Expert Answer
Answer to 4.12 LAB: Count characters Write a program whose input is a character and a string, and whose output indicates the numbe…
OR