/****************************************************************** * * Purpose: Program to demonstrate the 'while' statement. * Date: 20-Feb-94 * Author: M J Leslie. * ******************************************************************/ #include main() { int i=1; /* Define an integer variable. */ /* * i <= 10 expression is evaluated. If TRUE the * block is executed. */ while (i <= 10) { printf ("i is %i\n", i); i++; } } rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode: