Código
fuente |
|
#include
<stdio.h>
int
main()
{
int
i;
/*
Tabla de multiplicar del 1 */
for
( i = 1
; i <= 10
; i++ )
{
printf( "\n
%d * 1 = %d", i, i );
}
printf( "\n"
);
/*
Tabla de multiplicar del 2 */
for
( i = 1
; i <= 10
; i++ )
{
printf( "\n
%d * 2 = %d", i, i * 2 );
}
printf( "\n"
);
/*
Tabla de multiplicar del 3 */
for
( i = 1
; i <= 10
; i++ )
{
printf( "\n
%d * 3 = %d", i, i * 3 );
}
return
0;
} |
|
|