Corong_ExerciseNo3

Step 1: Start by including the necessary header files for input-output operations and string manipulation. Step 2: Define the main function. Step 3: Declare the required variables, such as the input string, the character to count, and the variable to hold the count. Step 4: Prompt the user to enter a string and the character to count. Step 5: Use the getline function to read the input string including spaces. Step 6: Use a for loop to iterate through each character of the input string. Step 7: Inside the for loop, check if the current character matches the character to count. If it does, increment the count variable. Step 8: After the loop, display the count of the specified character in the input string. Step 9: End the main function. Step 10: Compile and run the program to test its functionality.