Tema: Epic Fail?
Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/11/2009, 23:09
emmanegr
 
Fecha de Ingreso: noviembre-2009
Ubicación: León
Mensajes: 9
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Epic Fail?

Y que siempre si fue un Epic Fail! jajajajajajajajajajaja

Me falto un Mes! JULIO!

Por eso me ponía los caracteres de uno y el numero @.@

De igual manera muchísimas gracias por su tiempo y apoyo!

Saludos!


Código c++:
Ver original
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. string estados []= {"UNO","DOS","TRES","CUSTRO","CINCO"};
  6. string meses []= {"enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"};
  7. string met[5][12]= {"2","3","5","1","8","5","3","4","2","4","1","4","4","3","2","1","3","4","5","2","1","3","4","2","4","6","7","6","3","8","5","6","4","5","5","7","6","9","5","5","5","5","4","6","7","8","5","3","2","7","8","6","5","4","3","5q","4","3","2","1"};
  8. int i, j;
  9. int main (int argc, char * const argv[])
  10.  
  11. {
  12.     for (i=0; i <5; i++)
  13.     {
  14.         cout <<"\n"<< estados[i];
  15.         for (j=0; j<12; j++)
  16.         {
  17.             cout << meses[j];
  18.             cout << met[i][j]<<"\n";
  19.         }
  20.        
  21.     }
  22.    
  23.    
  24.     return 0;
  25. }

Así si funciona!