Do-While Loop Introduction
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("\n Enter The Value Of n:");
scanf("%d",&n);
do
{
printf("\n %d",n);
n++;
}while(n<=100);
getch();
}
From Basic to the Best
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("\n Enter The Value Of n:");
scanf("%d",&n);
do
{
printf("\n %d",n);
n++;
}while(n<=100);
getch();
}