jueves, 7 de noviembre de 2019

Programa 9 modificado con firma

#include <iostream>

#include <stdio.h>

using namespace std;

int vec[10],h,j,multiplo;


void captura();

void impresion();

int main()

{

cout << "MULTIPLOS DE 8" << endl;



    for (h=0; h<=9; h++)

    {

        multiplo= (h+1)*8;

        vec[h]=multiplo;

    }

    for (j=0; j<=9; j++)

    {

        cout << vec[j] <<endl;

    }

  cout<<"                           __                             "<<endl;

 cout<<"                         .'  '.                           "<<endl;

 cout<<"                    _.-'/  |  \                           "<<endl;

 cout<<"                 _.-  ,|  /  0 `-.                        "<<endl;

 cout<<"          |\    .-       `---.__.'=====================-, "<<endl;

 cout<<"       \ '-'`        .___.--._)=========================| "<<endl;

 cout<<"          \            .'     |                         | "<<endl;

 cout<<"          |     /,_.-'        |        GUSTAVO          | "<<endl;

 cout<<"        _/   _.'(             |           A SUS         | "<<endl;

 cout<<"      /  ,-' \  \             |        ORDENES          | "<<endl;

 cout<<"      \  \    `-'             |                         | "<<endl;

 cout<<"        `-'                   '-------------------------' "<<endl;




   return 0;

}


No hay comentarios.:

Publicar un comentario