WELCOME TO MY BLOG BY SHABEEB.K

C,C++ PROGRAMMING: DISPAY ANY MULTIPLICATION TABLE.

Search This Blog

Tuesday, 6 August 2013

DISPAY ANY MULTIPLICATION TABLE.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#include<stdio.h>
#include<conio.h>

void main()
{
long a,b,c,i;
clrscr();
printf("ENTER MULTIPLICATION OF : \n");
scanf("%lu",&a);
printf("ENTER VALUE TO : \n");
scanf("%lu",&b);

for(i=0;i<=b;i++)
{
c=a*i;
printf("%lux%lu=%lu\n",i,a,c);
}
getch();
}
                                                                        INPUT PROGRAMM

                                                                     OUTPUT



No comments:

Post a Comment