Computer Science, asked by agaware2203, 1 day ago

DISPLAY EVEN NUMBERS FROM 1 TO 100.

Answers

Answered by saptarshi04
0

Answer:

//C Program to Print Even Numbers from 1 to 100

#include<stdio.h>

void main()

{

int i ;

printf("Even Number from 1 to 100 are :- \n") ;

for(i=0 ; i <= 100 ; i++)

{

if( i%2 == 0 )

printf("%d ", i) ;

}

}

Similar questions