How to create Table in c language
Write A program for Table | Data output | C
#include<stdio.h>
#include<conio.h>
main()
{
int i,no,mul;
clrscr();
i=1;
printf("Enter no.for mul table");
scanf("%d",&no);
while(i<=10)
{
mul=i*no;
printf("\n%dx%d=%d",no,i,mul);
i++;
}
getch();
}
Write A program for Table | Data output | C
#include<stdio.h>
#include<conio.h>
main()
{
int i,no,mul;
clrscr();
i=1;
printf("Enter no.for mul table");
scanf("%d",&no);
while(i<=10)
{
mul=i*no;
printf("\n%dx%d=%d",no,i,mul);
i++;
}
getch();
}
0 comments: