SlideShare una empresa de Scribd logo
1 de 6
INSTITUTO CRISTO DEL PICACHO
INTEGRANTES:
 TANIA VERONICA SANCHEZ MARTINEZ.
 KENAN JESUA HERNANDEZ ZUNIGA (COORDINADOR).
 HECTOR EDUARDO VELASQUES MARADIAGA.
 ANTHONY ROVERY RODRIGUEZ DIAZ.
Proyecto 7
Se ponen a la venta, las entradas para un partido de futbol internacional, cuyo precio depende de la tribuna, así:
Tribuna sol cuesta 75 lempiras
Tribuna sombra cuesta 145 lempiras
Tribuna silla cuesta 200 lempiras
Diseñe usted la solución o un programa que controle la venta de dichas entradas a fin de saber la cantidad de personas
que asisten a cada tribuna, la cantidad total de personas (Asistencia) y el monto total recaudado por la venta e todas las
entradas (Recaudación) }
Primer paso:
Desarrollamos el ejercicio en el lenguaje Pseint para que fuera más fácil desarrollarlo en otro lenguaje
Segundo paso:
Desarrollamos en diagrama de flujo.
Tercer y último paso:
Desarrollamos el ejercicio en el lenguaje de visual fox pro, que es el lenguaje definitivo de creación del programa.
Pseint
Proceso Boletos
Resp<-'s'
Mientras Resp=='s'O 'S' Hacer
Escribir 'menu'
Escribir '1.solo L 75'
Escribir '2.sombra L 145'
Escribir '3.silla L 200'
Escribir 'Ingrese localidad:'
Leer loc
Escribir 'Ingrese cantidad de boletos:'
Leer cant
acum<-+1
Si loc=1 Entonces
total<-75*cant
acum<-total
Sino
Si loc=2 Entonces
total<-145*cant
acum<-total
Sino
Si loc=3 Entonces
total<-200*cant
acum<-total
Sino
Escribir 'valor no valido'
Fin Si
Fin Si
Fin Si
Escribir 'El total recaudado es:',acum
Escribir 'desea continuar(s/n):'
Leer Resp
FinMientras
FinProceso
Codificación en Visual Fox Pro
set talk off
set status off
set echo off
continuar="s"
Do While continuar="s" or continuar="S"
cant=(0)
acum=(0)
loc=space(10)
Clear
@5,30 say "Menú:"
@7,30 say "1. sol Lps 75"
@9,30 say "2. sombra Lps 145"
@11,30 say "3.silla Lps 200"
@13,30 say "Ingrese Localidad:" get loc
@15,30 say "Ingrese Cantidad:" get cant
Read
acum=(acum+1)
if loc="1"
total=75*cant
acum=total
else
if loc="2"
total=145*cant
acum=total
else
if loc="3"
total=200*cant
acum=total
else
@23,29 say "El valor ingresado no esta
permitido"
endif
endif
endif
@23,30 say "El total recaudado es:" get acum
@25,30 say str(acum,10,2)
wait Windows
@26,30 say "Quiere ingresar otra venta(S/N):" get continuar
continuar="s"
EndDo
.

Más contenido relacionado

Último

Proyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfProyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdf
patriciaines1993
 
Concepto y definición de tipos de Datos Abstractos en c++.pptx
Concepto y definición de tipos de Datos Abstractos en c++.pptxConcepto y definición de tipos de Datos Abstractos en c++.pptx
Concepto y definición de tipos de Datos Abstractos en c++.pptx
Fernando Solis
 
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
EliaHernndez7
 

Último (20)

ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
 
La Sostenibilidad Corporativa. Administración Ambiental
La Sostenibilidad Corporativa. Administración AmbientalLa Sostenibilidad Corporativa. Administración Ambiental
La Sostenibilidad Corporativa. Administración Ambiental
 
Proyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfProyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdf
 
Abril 2024 - Maestra Jardinera Ediba.pdf
Abril 2024 -  Maestra Jardinera Ediba.pdfAbril 2024 -  Maestra Jardinera Ediba.pdf
Abril 2024 - Maestra Jardinera Ediba.pdf
 
Concepto y definición de tipos de Datos Abstractos en c++.pptx
Concepto y definición de tipos de Datos Abstractos en c++.pptxConcepto y definición de tipos de Datos Abstractos en c++.pptx
Concepto y definición de tipos de Datos Abstractos en c++.pptx
 
Prueba libre de Geografía para obtención título Bachillerato - 2024
Prueba libre de Geografía para obtención título Bachillerato - 2024Prueba libre de Geografía para obtención título Bachillerato - 2024
Prueba libre de Geografía para obtención título Bachillerato - 2024
 
Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024
 
Supuestos_prácticos_funciones.docx
Supuestos_prácticos_funciones.docxSupuestos_prácticos_funciones.docx
Supuestos_prácticos_funciones.docx
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
 
ACERTIJO DE POSICIÓN DE CORREDORES EN LA OLIMPIADA. Por JAVIER SOLIS NOYOLA
ACERTIJO DE POSICIÓN DE CORREDORES EN LA OLIMPIADA. Por JAVIER SOLIS NOYOLAACERTIJO DE POSICIÓN DE CORREDORES EN LA OLIMPIADA. Por JAVIER SOLIS NOYOLA
ACERTIJO DE POSICIÓN DE CORREDORES EN LA OLIMPIADA. Por JAVIER SOLIS NOYOLA
 
BIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICA
BIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICABIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICA
BIOMETANO SÍ, PERO NO ASÍ. LA NUEVA BURBUJA ENERGÉTICA
 
origen y desarrollo del ensayo literario
origen y desarrollo del ensayo literarioorigen y desarrollo del ensayo literario
origen y desarrollo del ensayo literario
 
Interpretación de cortes geológicos 2024
Interpretación de cortes geológicos 2024Interpretación de cortes geológicos 2024
Interpretación de cortes geológicos 2024
 
Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024
 
Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024
 
Revista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfRevista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdf
 
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
 
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.pptFUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
 
TIENDAS MASS MINIMARKET ESTUDIO DE MERCADO
TIENDAS MASS MINIMARKET ESTUDIO DE MERCADOTIENDAS MASS MINIMARKET ESTUDIO DE MERCADO
TIENDAS MASS MINIMARKET ESTUDIO DE MERCADO
 
Power Point: Fe contra todo pronóstico.pptx
Power Point: Fe contra todo pronóstico.pptxPower Point: Fe contra todo pronóstico.pptx
Power Point: Fe contra todo pronóstico.pptx
 

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Instituto cristo del picacho

  • 1. INSTITUTO CRISTO DEL PICACHO INTEGRANTES:  TANIA VERONICA SANCHEZ MARTINEZ.  KENAN JESUA HERNANDEZ ZUNIGA (COORDINADOR).  HECTOR EDUARDO VELASQUES MARADIAGA.  ANTHONY ROVERY RODRIGUEZ DIAZ.
  • 2. Proyecto 7 Se ponen a la venta, las entradas para un partido de futbol internacional, cuyo precio depende de la tribuna, así: Tribuna sol cuesta 75 lempiras Tribuna sombra cuesta 145 lempiras Tribuna silla cuesta 200 lempiras Diseñe usted la solución o un programa que controle la venta de dichas entradas a fin de saber la cantidad de personas que asisten a cada tribuna, la cantidad total de personas (Asistencia) y el monto total recaudado por la venta e todas las entradas (Recaudación) } Primer paso: Desarrollamos el ejercicio en el lenguaje Pseint para que fuera más fácil desarrollarlo en otro lenguaje Segundo paso: Desarrollamos en diagrama de flujo. Tercer y último paso: Desarrollamos el ejercicio en el lenguaje de visual fox pro, que es el lenguaje definitivo de creación del programa.
  • 3. Pseint Proceso Boletos Resp<-'s' Mientras Resp=='s'O 'S' Hacer Escribir 'menu' Escribir '1.solo L 75' Escribir '2.sombra L 145' Escribir '3.silla L 200' Escribir 'Ingrese localidad:' Leer loc Escribir 'Ingrese cantidad de boletos:' Leer cant acum<-+1 Si loc=1 Entonces total<-75*cant acum<-total Sino Si loc=2 Entonces total<-145*cant acum<-total Sino Si loc=3 Entonces total<-200*cant acum<-total Sino Escribir 'valor no valido' Fin Si Fin Si Fin Si Escribir 'El total recaudado es:',acum Escribir 'desea continuar(s/n):' Leer Resp FinMientras FinProceso
  • 4.
  • 5. Codificación en Visual Fox Pro set talk off set status off set echo off continuar="s" Do While continuar="s" or continuar="S" cant=(0) acum=(0) loc=space(10) Clear @5,30 say "Menú:" @7,30 say "1. sol Lps 75" @9,30 say "2. sombra Lps 145" @11,30 say "3.silla Lps 200" @13,30 say "Ingrese Localidad:" get loc @15,30 say "Ingrese Cantidad:" get cant Read acum=(acum+1) if loc="1" total=75*cant acum=total else if loc="2" total=145*cant acum=total else if loc="3" total=200*cant acum=total else @23,29 say "El valor ingresado no esta permitido" endif endif endif @23,30 say "El total recaudado es:" get acum @25,30 say str(acum,10,2) wait Windows @26,30 say "Quiere ingresar otra venta(S/N):" get continuar continuar="s" EndDo
  • 6. .