Sunday, July 31, 2016

TABLE FROM 1 TO 20- C Language

/*TABLE FROM 1 TO 20*/

#include<conio.h>
#include<stdio.h>
void main()
{
int a,b,c;
clrscr();
for (a=1;a<=20;a++)
{
for (b=1;b<=10;b++)
{
c=a*b;
printf("\n%d*%d=%d",a,b,c);
}
getch();
}

}

No comments:

Post a Comment