I'm trying to create a program that assigns a sentence to a given character variable, prompts the user to input a letter, and then outputs how many times that letter is in the assigned sentence. I'm trying to do this with a simple do loop..
completely stuck. could anyone show me a code that would do it?
completely stuck. could anyone show me a code that would do it?