#include <stdio.h> </stdio.h>
#include <conio.h> </conio.h>
int num,a,b,c,d,e,f,g,h,i,j,k,l;
main ()
{
clrscr();
printf("tabla de multiplicar deseada :" );scanf("%d",&num);
a=num*1;
b=num*2;
c=num*3;
d=num*4;
e=num*5;
f=num*6;
g=num*7;
h=num*8;
i=num*9;
j=num*10;
k=num*11;
l=num*12;
printf("1 x :%dn",a);
printf("2 x :%dn",b);
printf("3 x :%dn",c);
printf("4 x :%dn",d);
printf("5 x :%dn",e);
printf("6 x :%dn",f);
printf("7 x :%dn",g);
printf("8 x :%dn",h);
printf("9 x :%dn",i);
printf("10 x :%dn",j);
printf("11 x :%dn",k);
printf("12 x :%dn",l);
getch();
}
No hay comentarios.:
Publicar un comentario
Es muy importante tu comentarios: