jueves, 18 de junio de 2009

Programa # 16

#include <>
#include <>
void main ( )
{
int c,t;
cout << "Introduce un numero de tabla a multiplicar " ;
cin >> t ;
c=1 ;
while (c<11)
{
/* cout << t << " x " << c << " = " << t * c << endl ; */
cout << t ;
cout << " x " ;
cout << c ;
cout << " = " ;
cout << t * c << endl ;
c++ ;
}
getchar () ;
}

No hay comentarios:

Publicar un comentario