My Codes
I have added codes which are very trickey and useful while making programs.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment