Code Help- resetting in while loop

I have a code here, that is supposed to check for and display the vowels and how many of each vowel the userInputed. But i have a bug, if i hit "y" to run the program again it adds the number of vowels from the previous run. Is there any way to fix it?


**** is there anyway i could put a reset or something on the bottom?
Last edited on
Code tags would be nice.

After you have done all the counting and show the user the total, just reset counter=0;
Topic archived. No new replies allowed.