#include<stdio.h>
#include<conio.h>
void main()
{
int i,n,m;
clrscr();
printf("\n Enter lower limit and upper
limit");
scanf ("%d%d", &m,&n);
printf ("Numbers from %d to %d are \n", m, n);
for(i=m; i<=n; i++)
printf("%5d",i);
getch ();
}
Output:
What is the output of the program if the input is given as 10   20

Posted on by