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(); } |
No comments:
Post a Comment