C program to display odd numbers between 1 and 100

C program to display the odd digits present in integer

C program to display odd numbers between 1 and 100 #include<stdio.h> int main(){ int rem,i; printf(“\n The odd numbers between 1 and 100 are \n”); for(i=1; i<=100; ++i){ rem = i % 2; if(rem != 0) printf(“\n  %d”,i); } return 0; }