A counting loop using for statement - C Statement

C examples for Statement:for

Description

A counting loop using for statement

Demo Code

#include <stdio.h>
int main(void)
{
    const int NUMBER = 22;
    int count;/*from ww  w.j a va 2 s. co m*/
    
    for (count = 1; count <= NUMBER; count++)
        printf("from book2s . com!\n");
    
    return 0;
}

Result


Related Tutorials