COSC 1337 - Programming Fundamentals II
Bob Comer, Professor of Computer Studies


Example C++ Programs
Chapter 5 - Looping

Topics covered

Program

Data

A small menu-driven program that shows how to use a while statement to implement a sentinel-controlled loop

menu using while

 

A small menu-driven program that shows how to use a do-while statement to implement a sentinel-controlled loop (same as above)

menu using do-while

 

 


Return to Programming Fundamentals II Home Page

Copyright: © 2013 by the Austin Community College
Department of Computer Studies. All rights reserved.
Comments to:
Bob Comer
Last updated: February 25, 2013