Language Ccpp Cref Examples While.c

/ ******************************************************************
 *
 * Purpose: Program to demonstrate the 'while' statement.
 * Date: 20-Feb-94
 * Author: M J Leslie.
 *
 ******************************************************************/
#include <stdio.h>
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++;
 }
}

file: /Techref/language/ccpp/cref/EXAMPLES/while.c, 0KB, , updated: 1998年11月3日 04:59, local time: 2025年9月9日 10:30,
40.74.122.252:LOG IN

©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/language/ccpp/cref/EXAMPLES/while.c"> language ccpp cref EXAMPLES while</A>

Did you find what you needed?

Welcome to massmind.org!

Welcome to massmind.org!

.

AltStyle によって変換されたページ (->オリジナル) /