please dont rip this site

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 03:59, local time: 2024/11/20 03:46,
TOP NEW HELP FIND: 
3.135.188.211:LOG IN

 ©2024 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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .