chap 4 notes 25 - as a certain condition is true (or...

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

View Full Document Right Arrow Icon
25 Loops In programming, it often becomes necessary to execute a block of code repeatedly. A loop is a mechanism that enables the program to execute a block of code as long
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: as a certain condition is true (or false). Even though the loop and the if statement are similar in that they contain conditions, they serve different purposes....
View Full Document

Ask a homework question - tutors are online