Post on 03-Nov-2015
description
transcript
Copyright 2013 by Pearson Education, Inc. All Rights Reserved.*Chapter 5 Loops
Copyright 2013 by Pearson Education, Inc. All Rights Reserved.
*MotivationsSuppose that you need to print a string (e.g., "Welcome to C++!") a hundred times. It would be tedious to have to write the following statement a hundred times:
cout