#include<stdio.h>
#include<stdlib.h>
Void main()
{
int i;
for(i=1; i<=10; i++) { if(i%2==0) { printf("\nit is a even number =%d", i) ; } }
}
|
it is a even number 2 it is a even number 4 it is a even number 6 it is a even number 8 it is a even number 10