#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,m,i;
printf("\n\t enter the value of n = ");
scanf("%d",&n);
printf("\n\t enter the value of m = ");
scanf("%d",&m);
printf("\n\t the number between %d and %d are \n\t",n,m);
for(i=n;i<=m;i+=2){
printf("\n\t %d",i);
}
return 0;
}
No comments:
Post a Comment