Pages

Saturday, 19 May 2012

program to print a table or even


44./*Write a program to print a table or even*\
#include<stdio.h>
#include<conio.h>
main()
{
int a;
clrscr();
for(a=2;a<=20;a=a+2)
printf("\n%d",a);
getch();
}

OUTPUT
            2 4 6 8 …………………20

No comments:

Post a Comment