Help us and donate little Bitcoins to pay the server costs: 1AXLPuRUBYc1JczTW4XS65GL6oWjNP2Vt2

User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer







because of the inhumane working conditions at amazon in Germany, I will offer the Amazon app no more! (ARD Reportage)
c:control_structures:while

while

    #include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
    while ( condition == true ) {
    do something until condition untrue
    }

C Sourcecode Example

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
 
int main(void) {
    int i=0;
 
    while (i <= 10) {
        printf("%i\n",i);
        i++;
    }
    return 0;
}
  //output://
  
  0
  1
  2
  3
  4
  5
  6
  7
  ...
  up to 10
advertising
c/control_structures/while.txt · Last modified: 2013/02/16 13:55 by 158.181.88.241

The new Question & Answer System is online and waiting for your Questions about Programming problems http://ask.code-reference.com Impressum