Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Friday, August 12, 2022

C program to display the series of even numbers from 1 to 100.

 C program to display the series of even numbers from 1 to 100.


#include<stdio.h>

#include<conio.h>

main()

{

int i;

printf("The series of even number is\n");

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

{

printf("%d\t",i);

}

getch();

}

No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages