Prog#104: Even or odd between given limit

/* 
Program#104
Even or odd between given limit
*/

#include <stdio.h>
main(){
int i,a,b;
scanf("%d %d",&a,&b);
for(;a<=b;a++){
i=a%2;
if(!i)
printf("\neven=%d",a);
else
printf("\nodd=%d",a);
}
}