Saturday, 10 December 2011

Write a program to print a table or even in c

#include
#include
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