please dont rip this site

Language Ccpp Cref Examples Do.c

/ ************************************************************************
 *
 * Purpose: Program to demonstrate the 'do' statement.
 * Author:  M J Leslie
 * Date:    26-Jan-94
 *
 ************************************************************************/

#include <stdio.h>

main()
{
  int i=1;		/* Define an integer variable.  		*/

			/*
			 * The block is executed. Then the i <= 10 
			 * expression is evaluated. If TRUE the block 
			 * is executed again.
			 */
  do
  {
    printf ("i is %i\n", i);
    i++;
  } while (i <= 10);

}


file: /Techref/language/ccpp/Cref/EXAMPLES/do.c, 0KB, , updated: 1997/4/21 08:52, local time: 2024/12/22 22:53,
TOP NEW HELP FIND: 
3.133.153.224: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/do.c"> language ccpp Cref EXAMPLES do</A>

Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .