Simple Statements

Before doing this lesson you should read read sections 1.4-1.8.

You should use level 1 of C-thru for this lesson.

In this lesson we'll look at three kinds of statements that should be familiar from your experience with other languages: assignments, while loops, and conditionals. In addition, the text discusses do while loops. These are sufficiently similar to while loops that we won't discuss them here.

If you push the button below, I'll copy some more example programs into your ``examples'' directory.

EXECUTE Click here to copy files


Hamlet Project
hamlet@cs.utah.edu