Computer Science, asked by prathamdaglia, 4 months ago

write a program to print all the values between the lower limit and upper limit entered by the user.

Answers

Answered by Archita744
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