Looping - Task; do{ Task; set cond; }while (cond);

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Looping 1) for 2) while 3) do_while (has to be used at least once) Examples: while(cond) Task; for (initialize; check cond; Reset cond)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Task; do{ Task; set cond; }while (cond);...
View Full Document

This note was uploaded on 11/01/2009 for the course CS 101 at USC.

Ask a homework question - tutors are online