Problem 14: C Program to print 1 to 10 mathematical tables
#include<stdio.h>
#include<conio.h>
main( )
{
int i,j;
clrscr( );
for (i=1; i<=10; i++)
for(j=1;j<=10;j++)
printf(“n%d*%d=%d”,i,j,i*j);
getch( );
}
C compiler: gcc 4.1.2
Back to main directory: Sample C Program | Software Practical | Solved C Assignment#include<stdio.h>
#include<conio.h>
main( )
{
int i,j;
clrscr( );
for (i=1; i<=10; i++)
for(j=1;j<=10;j++)
printf(“n%d*%d=%d”,i,j,i*j);
getch( );
}
C compiler: gcc 4.1.2