Pragramacion C++

Descargar como docx, pdf o txt
Descargar como docx, pdf o txt
Está en la página 1de 6

Ejercicio Nº01.

Enunciado: Desarrollar un programa para mostrar en pantalla la figura de un


rectángulo lleno.

Codigo fuentes:lulu pretel

#include <iostream>
using namespace std;

int main()
{
cout<<"/////////" << endl;
cout<<"/////////" << endl;
cout<<"/////////" << endl;
return 0;
}

Alexandra Sivroskya
Marta La Croft

Capturas de pantalla:
Ejercicio Nº:2
Enunciado: Desarrollar un programa para mostrar en pantalla la figura de un
árbol.
Código fuentes:

#include <iostream>
using namespace std;

int main()
{
cout<<" ** " << endl;
cout<<" **** " << endl;
cout<<" ****** " << endl;
cout<<" ++ " << endl;
cout<<" ******** " << endl;
cout<<"********** " << endl;
cout<<" oo " << endl;
cout<<" oo " << endl;
cout<<" oo " << endl;
cout<<" oo " << endl;
return 0;
}

Capturas de pantalla:
Ejercicio Nº03.

Enunciado: Desarrollar un programa para mostrar en pantalla la figura de un


bote.

Código fuentes:

#include <iostream>
using namespace std;

int main()
{
cout<<" ª " << endl;
cout<<" ªª " << endl;
cout<<" ªªª " << endl;
cout<<" ªªªª " << endl;
cout<<" ªªªªª " << endl;
cout<<" ! " << endl;
cout<<"ªªªªªªªªªªªªªªª" << endl;
cout<<" ªªªªªªªªªªªªª " << endl;
cout<<" ªªªªªªªªªªª " << endl;
return 0;
}

Capturas de pantalla:
Ejercicio Nº04.
Enunciado: Desarrollar un programa para mostrar en pantalla la figura de un
bote.
Código fuentes:

#include <iostream>
using namespace std;

int main()
{
cout<<"ºººººººººº ªº ºººººººººº" << endl;
cout<<"ºº ºº ººººººº ºº ºº" << endl;
cout<<"ºº ºº ººººººººººº ºº ºº" << endl;
cout<<"ººººººººººººººººººººººººººººººººº" << endl;
cout<<"ººººººººººººººººººººººººººººººººº" << endl;
cout<<"ºººººººººº+++++++++++++ºººººººººº" << endl;
cout<<"ºººººººººº+++++++++++++ºººººººººº" << endl;
cout<<"ºººººººººº++++++++ +ºººººººººº" << endl;
cout<<"ºººººººººº++++++++ +ºººººººººº" << endl;
cout<<"ºººººººººº++++++++ +ºººººººººº" << endl;
cout<<"ºººººººººººººººººººººººººººººººººº" << endl;
cout<<" " << endl;
return 0;
}

Capturas de pantalla:
Ejercico Nº04.
Enunciado: Desarrollar un programa para mostrar en pantalla una figura de
arte en código ASCII. Ejm.

Codigo fuentes:
#include <iostream>
using namespace std;

int main()
{

cout<<" $$$$$$ $$$$$$"<< endl;


cout<<" $$$$$$$$* *$$$$$$$$"<< endl;
cout<<" $$$$$$$$$,, . . ,,$$$$$$$$$$"<< endl;
cout<<" $$$$$$$$$$$$$ . . $$$$$$$$$$$$$$" << endl;
cout<<" $$$$$$$$$$$$$$,, . . ,,$$$$$$$$$$$$$$$" << endl;
cout<<" $$$$$$$$$$$$$$$$$. o .$$$$$$$$$$$$$$$$$" << endl;
cout<<" ***$$$$$$$$$$$$$8 8$$$$$$$$$$$****" << endl;
cout<<" $$$$$$8 8$$$$$$ " << endl;
cout<<" *$$$$$$$$$$$$$* 8 *$$$$$$$$$$*" << endl;
cout<<" *$$$$$$$$$$$$$* 8 8 *$$$$$$$$$$*" << endl;
cout<<" *$$$$$$$$$$$$$ 8 8 $$$$$$$$$$*" << endl;
cout<<" *$$$$$$$$$$$ 8 $$$$$$$$$*" << endl;
cout<<" *$$$$$$$$$$ $$$$$$$$*" << endl;
cout<<" *$$$$$$$ $$$$$$*" << endl;

cout<<" _^_ _^_ " <<


endl;
cout<<"(___)-------------------------------------------------(___)" <<
endl;
cout<<" ! !---------------------------------------------------! ! " <<
endl;
cout<<" ¡ ¡----------------- MUCHAS GRACIAS ------------------¡ ¡ "
<< endl;
cout<<" ! !---------------------------------------------------! ! "
<< endl;
cout<<" ¡_¡---------------------------------------------------¡_¡ "
<< endl;
cout<<"(___)-------------------------------------------------(___) "
<< endl;

return 0;
}
Capturas de pantalla:

También podría gustarte

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy