Tuesday, June 4, 2019

Write a program to print the numbers using the do while

/* ***********************************************
    Write a program to print the numbers using the do while

 date:04-06-2019
 created by:ANIL DURGAM

*****************************************************/

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int i=0;
    do{

         printf("%d\n",i);
    i+=1;

    }while(i<=10);


    return 0;
}



No comments:

Post a Comment

python class topic video