Saturday, March 25, 2017

while loop to print numbers from 0 to 9 in C

    int i=0;
    while(i<=9){
         i++;
    printf("loop %d\n",i);
    }

No comments:

Post a Comment