Homework Questions? Ask a Tutor for Answers ASAP
you had 2 #include <list>, 2 using namespace std; and no system("pause"); in the program you provided. I'm surprised that I would pay $45 and still have to edit those kind of things. Just saying.
Also the input that I enter is:
2 3 4 0 1 0 2 4 2 3 3 4 3 3 3 0 0 2 0 2
And the output that is expected is:
0 : 5, 1 : 1, 2 : 5, 3 : 6, 4 : 3
I received almost the same thing I was getting before coming here. The only difference is that your code is vertical and the counts still don't show correctly.
O.k. Sounds good. In the included text file their are items that have to be in the code. Please review it before adjusting the main method.
Thank you and forgive me if my last msg. I'm just frustrated and I didn't mean to take it out on you.
Still not getting the output:
Here is a screen shot of what I got:
I must do them the way I have been instructed. That being:
So that is 2 spacebar 3 spacebar 4 ... until all have been entered. This is the test to see if the program runs as specified.
This is all in the text file.
Please forgive me.
I don't know why I kept thinking I needed to add the 20 integers manually.
I am satisfied, ready to rate your work, and send you the funds.
Thanks again for everything,