Hello, I'm new here, I don't know where else to find help with this. I am taking a course in school for computer science, problem is, its long distance and I am supposed to do an assignment which is not explained at all. I understand fully everything that the lessons explain, then they require me to do an assignment that involves doing things that weren't covered anywhere else throughout the entire course. I can't find ANYTHING on the internet, I've spent two days still stuck.
The assignment is to create a program that reads in text that a user inputs until they type in a certain sentence ("The End"). Then, I am required to count occurrences of each letter in the alphabet.
Here is what it should look like in the console:
(Text explaining what to do)
Enter your text:
"Random text that anybody writes
can be multi lined
can enter anything as I just did^
I cannot for the life of my figure it out.
Here is my code:
using namespace std;
cout << "Enter your string" << endl;
if (string == "The End!")
cout << string << endl;
cout << "string length = " << strlen(string) << endl;
Now, I am not asking somebody to do it for me, I am asking somebody to fully explain how to do this.
Will anybody please help?
If anybody is willing to help me 1 on 1, I can give you an email, and we can IM?