Sorry I put this twice. Don't know if it's general or beginner...
So my assignment is to make this program run as many times as the user wants, then create a file with multiple outputs.
With my research I was able to deduce that I need to use the do loop. Even then from my online research I'm not really getting anything clear. I tried adding do while but it only seemed to skip questions and not even give me an output. I know where is x>=1 stuff but I can't see how I could implement that into my coding. There must be a simpler way of doing that I just haven't seen.
Long story short, user enters input, gives output, console asks if user wants to enter another set of input, gives output, send all outputs to one file.
EDIT: I was basing my opinion on do loop off this youtube video http://www.youtube.com/watch?v=BVVXLvMs_-w
It seemed closest to what I'm trying to accomplish but I'm not getting the same results.
No, you can make multiple outputs. That tutorial tells you how to output. It pretty much the same as cout, but instead of using cout, you'll use the stream.
Now the output only comes up in the text file. Is there any way to make it come up both in the program AND the text file?
BTW I know my loop is wrong, just ignore that.