Completely Solved C, C++ Programs Assignment.




C Program to accept a number and print mathematical table of the given no

Filed Under:

Problem 13: C Program to accept a number and print mathematical table of the given no.
#include<stdio.h>
#include<conio.h>
main( )
{
int i,t;
clrscr( );
printf(“which table u want:”);
scanf(“%d”,&t);
for (i=1; i<=10; i++)
printf(“n%d*%d=%d”,t,i,i*t);
getch( );
}
C compiler: gcc 4.1.2

Back to main directory: Sample C Program | Software Practical | Solved C Assignment


Get Free Programming Tutorials and Solved assignments