Prog#049: while loop- Prints numbers between given range

/* 
Program#49
while loop- Prints numbers between given range
*/

#include <stdio.h>
main(){
int a,b,c=0;
printf("\nEnter two numbers :");
scanf("%d %d",&a,&b);
while(a<=b){
printf("\n%d",a);
a=a+1;
}
}