I'm still pretty new to C++ and am taking a course in college for it. We have an assignment that I am kind of stumped on. I was wondering if you guys could help me out with it.
I know I could write it extremely basic by using 30 int variables, one for each number, but I'm trying to use some kind of while loop or something to write it. So far I have the variables laid out, but I don't really know how to start it out.