Current Forum: Homework 5 - Parts 1 and 2 |
Date: Sat Nov 10 2001 4:57 pm |
Author: Goodman, Brian J. <bjg@andrew.cmu.edu> |
Subject: Re: 10 lines?? I only needed 3 - That must be some ugly code |
|
|
for loops are fun stuff!
for(a;b;c){ d; }
<=>
a; while(b) { d; c; }
(b can be ANY boolean expression) Just a thought.... |
|