Computer Science, asked by hudaabidi786, 5 hours ago

write a program to create a series of first five even number​

Answers

Answered by lavanya3602
0

#include <stdio.h>

int main()

{

int i;

printf(" first 5 even numbers are \n");

for (i = 1; i <= 10; i++)

{

if(i%2 == 0)

{ printf("%d ", i);

}

}

return 0;

}

Similar questions