How to write a C program to print odd numbers in c programming ?
Solution:
#include <stdio.h>
int main()
{
int i;
for(i = 1; i <= 100; i = i + 2)
printf("%d\n", i);
return 0;
}
Learn To Write A Program. Learn Programming Online. Find Programming Solutions.