jueves, 7 de noviembre de 2019

Programa 5 con firma

#include <iostream>
#include <stdlib.h>
using namespace std;
void imprime();
void firma();
int h, multiplo;
int main()
{
    imprime();
    firma();
    return 0;
}
void imprime()
{
    cout<<"     *Tabla*\n"<<endl;
    for ( h= 1; h<=15; h++)
    {
    multiplo = h*6;
    cout<<" 6x"<<h<<"="<<multiplo<<endl;
    }
}
void firma()
{
    cout<<"\n\n\n"<<endl;
cout<<"     ,;;;, ,;;;,                 ,;;;, ,;;;,       "<<endl;
cout<<"    ;;;' ';' ';;;               ;;;' ';' ';;;         "<<endl;
cout<<"    ;;;       ;;;               ;;;       ;;;        "<<endl;
cout<<"     ';;,   ,;;' AMERICA CITLALY ';;,   ,;;'       "<<endl;
cout<<"       ';;,;;'                     ';;,;;'          "<<endl;
cout<<"         ';'                         ';'        "<<endl;
system("color 75");
}

No hay comentarios:

Publicar un comentario

Cadenas

#include <iostream> #include <stdio.h> #include <string.h> using namespace std; char nombre[50],paterno[50],materno[20...