Hello all, I am a new C++ student and am having some difficulty understanding some of the language. If I could receive some sort of help on the following problem I would greatly appreciate it.
Abstraction, if you dont know, just say you dont know instead of a response of that sort. If I was on a machine that was capible of compiling then I certainly would. I am on my work machine therefore I can't.
We don't do homework for people here. We love to help you arrive to the answer yourself, but we won't give it to you. Homework is so you can learn, if we give you the answer, what have you learned?
Now I recommend editing your original post and re-pasting this code in using code tags. The are located the right or below the box you type in, denoted with an icon of <>
If you were having trouble with compile errors you should have said so and posted the errors. If you are having trouble understanding specific statements, then you should have made clear which statements are giving you trouble.
As ResidentBiscuit said, we're here to help but we don't do homework assignments.
Problems with your code:
1) You're missing #include <iostream> and usingnamespace std;
2) count and innerCount are not defined.
3) Code needs to be enclosed in a proper function (main)
4) You're missing closure for one of your while loops.
5) You're missing a semicolon at line 4.
6) You haven't edited your post to use code tags as requested.