write a program to print all the values between the lower limit and upper limit entered by the user.
Answers
Answered by
1
Answer:
In c language:
#include<stdio.h>
#include<conio.h>
void main ()
{
int n,m,i;
printf("Enter the lower and upper limit :");
scanf(" %d %d",&n,&m);
for(i=n;i<=m;i++)
printf(" %d",i);
getch();
}
Similar questions