On Fri, Apr 18, 2003 at 12:04:25AM +0000, raja kumar wrote:
> could u tell me the all the differences between FOR and WHILE loops
> please..
#include "homework.h"
#define NUM_COURSES 4
int main (int argc, char **argv)
{
int i;
task homework;
for (i = 0; i < NUM_COURSES; i++)
{
while (!homework->complete)
{
do_homework();
}
}
return 0;
}
--
Seneca
seneca-cunningham@rogers.com
Attachment:
pgpKYL4xRViJu.pgp
Description: PGP signature