Program to print a table of any number.

			#include<stdio.h>
			#include<conio.h>
			void main()
			{
			int gs,bs,da,ta;
			clrscr();
			printf("enter basic salary: ");
			scanf("%d",&bs);
			da=(10*bs)/100;
			ta=(12*bs)/100;
			gs=bs+da+ta;
			printf("gross salary=%d",gs);
			getch();
			}
Output:
enter a no to know table: 2
2*1=2
2*2=4
2*3=6
2*4=8
2*5=10
2*6=12
2*7=14
2*8=16
2*9=18
2*10=20