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/23 11:24,
TOP NEW HELP FIND: 
18.225.254.81: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://techref.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 techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .