Foros del Web » Programación para mayores de 30 ;) » C/C++ »

tabla con while

Estas en el tema de tabla con while en el foro de C/C++ en Foros del Web. Hola me podrian ayudar esta tabla con while: N 10*N 100*N 1000*N 1 10 100 1000 2 20 200 2000 3 30 300 3000 4 ...
  #1 (permalink)  
Antiguo 26/07/2010, 21:26
 
Fecha de Ingreso: julio-2010
Mensajes: 3
Antigüedad: 13 años, 9 meses
Puntos: 0
tabla con while

Hola me podrian ayudar esta tabla con while:

N 10*N 100*N 1000*N

1 10 100 1000
2 20 200 2000
3 30 300 3000
4 40 400 4000
5 50 500 5000
6 60 600 6000
7 70 700 7000
8 80 800 8000
9 90 900 9000
10 100 1000 10000
  #2 (permalink)  
Antiguo 27/07/2010, 19:17
 
Fecha de Ingreso: mayo-2008
Ubicación: Chile
Mensajes: 189
Antigüedad: 15 años, 11 meses
Puntos: 3
Respuesta: tabla con while

Cita:
#include <iostream>

using namespace std;

int main()
{
for(int x = 1; x <= 10; x++)
{
cout << x;
cout <<"\t";
cout << x *10;
cout <<"\t";
cout << x *100;
cout <<"\t";
cout << x *100;
cout <<"\n";
}
system("PAUSE");
return
__________________
si tienes entre 18 y 20 años... entonces tienes 19 años xD

Etiquetas: tablas
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:24.