Hello, I'm not looking for you to write the code for me, I'm just looking to be pointed in the right direction. If you could provide a template or give some tips, that would be amazing. The question is as follows..
Write a sentinel loop that prompts the user for a string. Loop through the string and count and print the number of 'e's. Continue to prompt the user for a string until they enter '*' (the sentinel value). Declare string variable query to hold the string and int variable count to hold the count.
It's a simple problem. I think you can handle it if you make a little effort. Try to think if you don't know any programming language, how do you solve it? Then follow what you got in the last step, and translate your procedures into c++ language (loops and conditional branches, ...).