Project must run five times without stopping

Hello. I just finished coding a project which calculates and outputs gas mileage, total distance, and time, but have one more thing to do in which I can't figure out. The program must run five times without stopping. I figure that you use a loop for this, but I don't now which one to use and how to construct it. If someone could give me a lead i'd appreciate it. Thanks
http://www.cplusplus.com/doc/tutorial/control/
Your looking for the "for" statement.
Topic archived. No new replies allowed.