Counting Occurrences of a Character

# Introduction In this lab, you will create a program that takes a string input and a character input, and then uses a for loop to iterate through the string and count the occurrence of the character, finally printing the count.

|60 : 00

Click the virtual machine below to start practicing