Você está na página 1de 1

------------------------------------------------------------------------------------------------------------------------------Problem: Function that print Table.

------------------------------------------------------------------------------------------------------------------------------#include <conio.h>
#include <stdio.h>
void table(int t);
void main()
{
clrscr();
int n;
printf("Enter any no: ");
scanf("%d",&n);
table(n);
getch();
}
void table(int t)
{
for(int i=1; i<=10; i++)
printf("%d*%d=%d\n",t,i,t*i);
}

URL: http://mylcphs.com/ics.html
E-Mail: farhan.saleem@hotmail.com
Instructor: Muhammad Rana Farhan

Você também pode gostar