#include<stdio.h>
#include<stdlib.h>
Void main()
{
int i;
for(i=1; i<=10; i++) { if(i%2==1) { printf("\nit is a odd number =%d", i) ; } }
}
|
it is a odd number 1 it is a odd number 3 it is a odd number 5 it is a odd number 7 it is a odd number 9