SlideShare una empresa de Scribd logo
1 de 5
PRACTICA NO. 2 NO. DE PROBLEMA 8
Fecha:17-02-2016
Nombre del alumno:GuillermoFernandoHuertaMadueño
No.control:16210687
ALGORITMO
1. inicio
2.Establecerlasvariablesydarlesvalores
p=360.00
e=20.54
d=18.50
y=0.16
pe=0.0
pd=0.0
py=0.0
3.calcularel valor de pesosa dólares
pd=p/d
4.calcularel valor de pesosa euros
pe=p/e
5.calcularel valor de pesosa yenes
py=p/y
6.imprimirel mensaje
print "Pesos:$",p
Print"Euro:$" ,e
Print"Dolar:$",d
print "Yen:$" ,y
print"Conversionpesos aeuros=$" ,pe
print"Conversionpesosadolares=$",pd
print"Conversionpesosayenes=$",py
7. fin
INICIO
Float p=360.00
float e=20.54
float d=18.50
float y=0.16
float pe=0.0
float pd=0.0
float py=0.0
pd=p/d
pe=p/e
py=p/y
print "Pesos:$" ,p
print "Euro:$" ,e
print "Dolar:$" ,d
print "Yen:$" ,y
print "Conversion pesos a euros=$" ,pe
print "conversion pesos a dolares=$" ,pd
print "Conversion pesos a yenes=nt$" ,py
FIN
SEUDOCÓDIGO
inicio
floatp=360.00
floate=20.54
floatd=18.5
floatpe
floatpd
floatpy
floatpe=p/e
pd=p/d
py=p/y
print "Pesos:$",p
print"Euro:$" ,e
print"Dolar:$" ,d
print "Yen:$" ,y
print"Conversionpesosaeuros=$",pe
print"conversionpesosadolares=$",pd
print"Conversionpesosayenes=nt$",py
fin
/*Practica No.2 No.de problema8
Fecha:17-02-2016 Nombre del alumno:GuillermoFernandoHuertaMadueño
No.control:16210687*/
usingnamespace std;
floatp=360.00;
floate=20.54;
floatd=18.50;
floaty=0.16;
floatpe;
floatpd;
floatpy;
intmain()
{
cout << "ttTIPOSDE CAMBIOn"<< endl;
floatpe=p/e;
pd=p/d;
py=p/y;
cout << "tPesos:$"<<p<< endl;
cout << "tEuro:$" <<e<< endl;
cout << "tDolar:$"<<d<< endl;
cout << "tYen:$"<<y<< endl;
cout <<"ntConversionpesosaeuros=nt$"<<pe<< endl;
cout <<"ntConversionpesosadolares=nt$"<<pd<< endl;
cout <<"ntConversionpesosayenes=nt$"<<py<<endl;
return 0;
}
Problema 8

Más contenido relacionado

Destacado

ZL MEI14-museum
ZL MEI14-museumZL MEI14-museum
ZL MEI14-museumSven Portz
 
토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅
토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅
토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅saedsssd
 
1. trayectorias y practicas
1. trayectorias y practicas1. trayectorias y practicas
1. trayectorias y practicas11sillu
 
ผลการตรวจ 1 58
ผลการตรวจ 1 58ผลการตรวจ 1 58
ผลการตรวจ 1 58Sutichate Sroisuwan
 
IUSNATURALISMO Y IUSPOSITISMO
IUSNATURALISMO Y IUSPOSITISMOIUSNATURALISMO Y IUSPOSITISMO
IUSNATURALISMO Y IUSPOSITISMOGrupo3J1B
 
урок математики у 1 класі
урок математики у 1 класіурок математики у 1 класі
урок математики у 1 класіLutikova
 

Destacado (9)

Central hidroelectrica
Central hidroelectricaCentral hidroelectrica
Central hidroelectrica
 
ZL MEI14-museum
ZL MEI14-museumZL MEI14-museum
ZL MEI14-museum
 
토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅
토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅
토토팁스터◑♣♧♠taTA79.cOm♥♧◈◐실시간토토 실시간배팅
 
Portfolio
PortfolioPortfolio
Portfolio
 
1. trayectorias y practicas
1. trayectorias y practicas1. trayectorias y practicas
1. trayectorias y practicas
 
ผลการตรวจ 1 58
ผลการตรวจ 1 58ผลการตรวจ 1 58
ผลการตรวจ 1 58
 
Lean Tools and Processes
Lean Tools and ProcessesLean Tools and Processes
Lean Tools and Processes
 
IUSNATURALISMO Y IUSPOSITISMO
IUSNATURALISMO Y IUSPOSITISMOIUSNATURALISMO Y IUSPOSITISMO
IUSNATURALISMO Y IUSPOSITISMO
 
урок математики у 1 класі
урок математики у 1 класіурок математики у 1 класі
урок математики у 1 класі
 

Más de Guillermo Madueño (18)

Trabajo clase no
Trabajo clase noTrabajo clase no
Trabajo clase no
 
Trabajo clase 5
Trabajo clase 5Trabajo clase 5
Trabajo clase 5
 
Practica no 4.parte 2. ´problema 2
Practica no 4.parte 2. ´problema 2Practica no 4.parte 2. ´problema 2
Practica no 4.parte 2. ´problema 2
 
Tc3.p3
Tc3.p3Tc3.p3
Tc3.p3
 
P3.p7
P3.p7P3.p7
P3.p7
 
P3.p5
P3.p5P3.p5
P3.p5
 
P3.p6
P3.p6P3.p6
P3.p6
 
Tc.p7
Tc.p7Tc.p7
Tc.p7
 
Tc.p7
Tc.p7Tc.p7
Tc.p7
 
Exa1
Exa1Exa1
Exa1
 
Tc1.p8
Tc1.p8Tc1.p8
Tc1.p8
 
Tc1.p7
Tc1.p7Tc1.p7
Tc1.p7
 
Tc1.p6
Tc1.p6Tc1.p6
Tc1.p6
 
P1.p1
P1.p1P1.p1
P1.p1
 
P1.p4
P1.p4P1.p4
P1.p4
 
P1.p6
P1.p6P1.p6
P1.p6
 
Problema 7.1
Problema 7.1Problema 7.1
Problema 7.1
 
Problema 7
Problema 7Problema 7
Problema 7
 

Último

Le Corbusier y Mies van der Rohe: Aportes a la Arquitectura Moderna
Le Corbusier y Mies van der Rohe: Aportes a la Arquitectura ModernaLe Corbusier y Mies van der Rohe: Aportes a la Arquitectura Moderna
Le Corbusier y Mies van der Rohe: Aportes a la Arquitectura Modernasofpaolpz
 
Curso Básico de Windows Word y PowerPoint.pdf
Curso Básico de Windows Word y PowerPoint.pdfCurso Básico de Windows Word y PowerPoint.pdf
Curso Básico de Windows Word y PowerPoint.pdfirisvanegas1990
 
CERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdf
CERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdfCERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdf
CERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdfasnsdt
 
PRESENTACION SOBRE EL PROYECTO DE GRADO .
PRESENTACION SOBRE EL PROYECTO DE GRADO .PRESENTACION SOBRE EL PROYECTO DE GRADO .
PRESENTACION SOBRE EL PROYECTO DE GRADO .Rosa329296
 
2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf
2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf
2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdfcnaomi195
 
EL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdf
EL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdfEL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdf
EL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdfCeciliaTernR1
 
Calendario 2024 Santoral con fase lunar.pdf
Calendario 2024 Santoral con fase lunar.pdfCalendario 2024 Santoral con fase lunar.pdf
Calendario 2024 Santoral con fase lunar.pdfAsol7
 
Arquitectura moderna / Nazareth Bermúdez
Arquitectura moderna / Nazareth BermúdezArquitectura moderna / Nazareth Bermúdez
Arquitectura moderna / Nazareth BermúdezNaza59
 
Slaimen Barakat - SLIDESHARE TAREA 2.pdf
Slaimen Barakat - SLIDESHARE TAREA 2.pdfSlaimen Barakat - SLIDESHARE TAREA 2.pdf
Slaimen Barakat - SLIDESHARE TAREA 2.pdfslaimenbarakat
 
Maquetas-modelos-prototipos-Mapa mental-.pdf
Maquetas-modelos-prototipos-Mapa mental-.pdfMaquetas-modelos-prototipos-Mapa mental-.pdf
Maquetas-modelos-prototipos-Mapa mental-.pdforianaandrade11
 
Gabriela Marcano historia de la arquitectura 2 renacimiento
Gabriela Marcano historia de la arquitectura 2 renacimientoGabriela Marcano historia de la arquitectura 2 renacimiento
Gabriela Marcano historia de la arquitectura 2 renacimientoGabrielaMarcano12
 
Arquitectura moderna nazareth bermudez PSM
Arquitectura moderna nazareth bermudez PSMArquitectura moderna nazareth bermudez PSM
Arquitectura moderna nazareth bermudez PSMNaza59
 
diseño de plantas agroindustriales unidad
diseño de plantas agroindustriales unidaddiseño de plantas agroindustriales unidad
diseño de plantas agroindustriales unidaddabuitragoi
 
TRABAJO DESDE CASA REGION INSULAR.docx.pdf
TRABAJO DESDE CASA REGION INSULAR.docx.pdfTRABAJO DESDE CASA REGION INSULAR.docx.pdf
TRABAJO DESDE CASA REGION INSULAR.docx.pdfDamarysNavarro1
 
Portafolio de Diseño Gráfico por Giorgio B Huizinga
Portafolio de Diseño Gráfico por Giorgio B HuizingaPortafolio de Diseño Gráfico por Giorgio B Huizinga
Portafolio de Diseño Gráfico por Giorgio B Huizingagbhuizinga2000
 
Presentacion de 100 psicologos dijeron.pptx
Presentacion de 100 psicologos dijeron.pptxPresentacion de 100 psicologos dijeron.pptx
Presentacion de 100 psicologos dijeron.pptxbarbaracantuflr
 
Arquitectura Moderna Le Corbusier- Mies Van Der Rohe
Arquitectura Moderna Le Corbusier- Mies Van Der RoheArquitectura Moderna Le Corbusier- Mies Van Der Rohe
Arquitectura Moderna Le Corbusier- Mies Van Der Roheimariagsg
 
SENSICO CURSO DE EXPEDIENTE TECNICO DE OBRAS
SENSICO CURSO DE EXPEDIENTE TECNICO DE OBRASSENSICO CURSO DE EXPEDIENTE TECNICO DE OBRAS
SENSICO CURSO DE EXPEDIENTE TECNICO DE OBRASpaotavo97
 
APORTES Y CARACTERISTICAS DE LAS OBRAS DE CORBUSIER. MIES VAN DER ROHE
APORTES Y CARACTERISTICAS DE LAS OBRAS DE  CORBUSIER. MIES VAN DER ROHEAPORTES Y CARACTERISTICAS DE LAS OBRAS DE  CORBUSIER. MIES VAN DER ROHE
APORTES Y CARACTERISTICAS DE LAS OBRAS DE CORBUSIER. MIES VAN DER ROHEgonzalezdfidelibus
 
LAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdf
LAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdfLAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdf
LAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdfBrbara57940
 

Último (20)

Le Corbusier y Mies van der Rohe: Aportes a la Arquitectura Moderna
Le Corbusier y Mies van der Rohe: Aportes a la Arquitectura ModernaLe Corbusier y Mies van der Rohe: Aportes a la Arquitectura Moderna
Le Corbusier y Mies van der Rohe: Aportes a la Arquitectura Moderna
 
Curso Básico de Windows Word y PowerPoint.pdf
Curso Básico de Windows Word y PowerPoint.pdfCurso Básico de Windows Word y PowerPoint.pdf
Curso Básico de Windows Word y PowerPoint.pdf
 
CERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdf
CERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdfCERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdf
CERTIFICACIÓN DE CAPACITACIÓN PARA EL CENSO - tfdxwBRz6f3AP7QU.pdf
 
PRESENTACION SOBRE EL PROYECTO DE GRADO .
PRESENTACION SOBRE EL PROYECTO DE GRADO .PRESENTACION SOBRE EL PROYECTO DE GRADO .
PRESENTACION SOBRE EL PROYECTO DE GRADO .
 
2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf
2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf
2024-EL CAMBIO CLIMATICO Y SUS EFECTOS EN EL PERÚ Y EL MUNDO.pdf
 
EL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdf
EL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdfEL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdf
EL CONCEPTO Y EL PARTIDO ARQUITECTONICO.pdf
 
Calendario 2024 Santoral con fase lunar.pdf
Calendario 2024 Santoral con fase lunar.pdfCalendario 2024 Santoral con fase lunar.pdf
Calendario 2024 Santoral con fase lunar.pdf
 
Arquitectura moderna / Nazareth Bermúdez
Arquitectura moderna / Nazareth BermúdezArquitectura moderna / Nazareth Bermúdez
Arquitectura moderna / Nazareth Bermúdez
 
Slaimen Barakat - SLIDESHARE TAREA 2.pdf
Slaimen Barakat - SLIDESHARE TAREA 2.pdfSlaimen Barakat - SLIDESHARE TAREA 2.pdf
Slaimen Barakat - SLIDESHARE TAREA 2.pdf
 
Maquetas-modelos-prototipos-Mapa mental-.pdf
Maquetas-modelos-prototipos-Mapa mental-.pdfMaquetas-modelos-prototipos-Mapa mental-.pdf
Maquetas-modelos-prototipos-Mapa mental-.pdf
 
Gabriela Marcano historia de la arquitectura 2 renacimiento
Gabriela Marcano historia de la arquitectura 2 renacimientoGabriela Marcano historia de la arquitectura 2 renacimiento
Gabriela Marcano historia de la arquitectura 2 renacimiento
 
Arquitectura moderna nazareth bermudez PSM
Arquitectura moderna nazareth bermudez PSMArquitectura moderna nazareth bermudez PSM
Arquitectura moderna nazareth bermudez PSM
 
diseño de plantas agroindustriales unidad
diseño de plantas agroindustriales unidaddiseño de plantas agroindustriales unidad
diseño de plantas agroindustriales unidad
 
TRABAJO DESDE CASA REGION INSULAR.docx.pdf
TRABAJO DESDE CASA REGION INSULAR.docx.pdfTRABAJO DESDE CASA REGION INSULAR.docx.pdf
TRABAJO DESDE CASA REGION INSULAR.docx.pdf
 
Portafolio de Diseño Gráfico por Giorgio B Huizinga
Portafolio de Diseño Gráfico por Giorgio B HuizingaPortafolio de Diseño Gráfico por Giorgio B Huizinga
Portafolio de Diseño Gráfico por Giorgio B Huizinga
 
Presentacion de 100 psicologos dijeron.pptx
Presentacion de 100 psicologos dijeron.pptxPresentacion de 100 psicologos dijeron.pptx
Presentacion de 100 psicologos dijeron.pptx
 
Arquitectura Moderna Le Corbusier- Mies Van Der Rohe
Arquitectura Moderna Le Corbusier- Mies Van Der RoheArquitectura Moderna Le Corbusier- Mies Van Der Rohe
Arquitectura Moderna Le Corbusier- Mies Van Der Rohe
 
SENSICO CURSO DE EXPEDIENTE TECNICO DE OBRAS
SENSICO CURSO DE EXPEDIENTE TECNICO DE OBRASSENSICO CURSO DE EXPEDIENTE TECNICO DE OBRAS
SENSICO CURSO DE EXPEDIENTE TECNICO DE OBRAS
 
APORTES Y CARACTERISTICAS DE LAS OBRAS DE CORBUSIER. MIES VAN DER ROHE
APORTES Y CARACTERISTICAS DE LAS OBRAS DE  CORBUSIER. MIES VAN DER ROHEAPORTES Y CARACTERISTICAS DE LAS OBRAS DE  CORBUSIER. MIES VAN DER ROHE
APORTES Y CARACTERISTICAS DE LAS OBRAS DE CORBUSIER. MIES VAN DER ROHE
 
LAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdf
LAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdfLAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdf
LAMODERNIDADARQUITECTURABYBARBARAPADILLA.pdf
 

Problema 8

  • 1. PRACTICA NO. 2 NO. DE PROBLEMA 8 Fecha:17-02-2016 Nombre del alumno:GuillermoFernandoHuertaMadueño No.control:16210687 ALGORITMO 1. inicio 2.Establecerlasvariablesydarlesvalores p=360.00 e=20.54 d=18.50 y=0.16 pe=0.0 pd=0.0 py=0.0 3.calcularel valor de pesosa dólares pd=p/d 4.calcularel valor de pesosa euros pe=p/e 5.calcularel valor de pesosa yenes py=p/y 6.imprimirel mensaje print "Pesos:$",p Print"Euro:$" ,e Print"Dolar:$",d print "Yen:$" ,y print"Conversionpesos aeuros=$" ,pe print"Conversionpesosadolares=$",pd print"Conversionpesosayenes=$",py 7. fin
  • 2. INICIO Float p=360.00 float e=20.54 float d=18.50 float y=0.16 float pe=0.0 float pd=0.0 float py=0.0 pd=p/d pe=p/e py=p/y print "Pesos:$" ,p print "Euro:$" ,e print "Dolar:$" ,d print "Yen:$" ,y print "Conversion pesos a euros=$" ,pe print "conversion pesos a dolares=$" ,pd print "Conversion pesos a yenes=nt$" ,py FIN
  • 3. SEUDOCÓDIGO inicio floatp=360.00 floate=20.54 floatd=18.5 floatpe floatpd floatpy floatpe=p/e pd=p/d py=p/y print "Pesos:$",p print"Euro:$" ,e print"Dolar:$" ,d print "Yen:$" ,y print"Conversionpesosaeuros=$",pe print"conversionpesosadolares=$",pd print"Conversionpesosayenes=nt$",py fin /*Practica No.2 No.de problema8 Fecha:17-02-2016 Nombre del alumno:GuillermoFernandoHuertaMadueño No.control:16210687*/ usingnamespace std; floatp=360.00; floate=20.54; floatd=18.50; floaty=0.16; floatpe; floatpd; floatpy; intmain() { cout << "ttTIPOSDE CAMBIOn"<< endl;
  • 4. floatpe=p/e; pd=p/d; py=p/y; cout << "tPesos:$"<<p<< endl; cout << "tEuro:$" <<e<< endl; cout << "tDolar:$"<<d<< endl; cout << "tYen:$"<<y<< endl; cout <<"ntConversionpesosaeuros=nt$"<<pe<< endl; cout <<"ntConversionpesosadolares=nt$"<<pd<< endl; cout <<"ntConversionpesosayenes=nt$"<<py<<endl; return 0; }