David santiago montilla
-
Upload
davidsantiagomontilla -
Category
Documents
-
view
195 -
download
0
description
Transcript of David santiago montilla
![Page 1: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/1.jpg)
Grupo 262Aula: B19
UNIVERSIDAD POLITECNICA SALESIANA
FACULTAD DE CIENCIAS ADMINISTRATIVAS Y ECONOMICAS
SEDE GIRON – QUITO
PROGRAMACIÓN BASICA
David Montilla
![Page 2: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/2.jpg)
Realizar lo Siguiente:
crear un menú y enlazar los programas realizados en clase:
Dado en N números por teclado determinar cuántos son pares y cuántos son impares?
Dado en N números por teclado determinar la suma y el promedio.
Dado en N números por teclado determinar cual numero es el mayor?
![Page 3: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/3.jpg)
INTRODUCCIÓN
Vamos a hacer un usuario que tenga las herramientas numéricas
necesarias para hacer 4 tareas.
Que realizara l operaciones de manera correcta y datos esenciales
para el calculo de costo de tiempo y fácilmente operable.
![Page 4: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/4.jpg)
OPERACIÓN TEORÍCA La utilización de Visual Basic como
lector y programador de códigos fuente, base para la creación de los aplicativos:
Contp, (llamados contadores utilizados para automatización)
End – If - then (especifican o determinan condiciones a cumplirse)
Wend - While (utilizados en función de las variables realizadas)
![Page 5: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/5.jpg)
Dado en N números por teclado determinar cuántos son pares y cuántos son impares?
![Page 6: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/6.jpg)
CAPTURAS DE APLICATIVO EN EJECUCIÓN
CLIC EJECUTAR
![Page 7: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/7.jpg)
![Page 8: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/8.jpg)
Dado en N números por teclado determinar la suma y el promedio.
![Page 9: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/9.jpg)
CLIC EJECUTAR
![Page 10: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/10.jpg)
Dado en N números por teclado determinar cual numero es el mayor?
![Page 11: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/11.jpg)
CLIC EJECUTAR
![Page 12: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/12.jpg)
Creación del menú
Para facilidad rapidez y todos nuestros programas deben unirse en uno solo “main”, que se lo crea a través de Editor de menús.
![Page 13: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/13.jpg)
Al dar clic sobre el editor; vamos a ingresar cada uno de los campos que necesitamos crear en el menú, y a cada una de nuestras opciones adicionaremos unos shortcuts.
![Page 14: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/14.jpg)
Luego, de haber creado nuestro menú; a cada una de las opciones la programaremos y asignaremos cada acción que queremos :
![Page 15: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/15.jpg)
OPCIONAL
* Dado en N números por teclado determinar cuántos están entre 15y25, cuantos están entre 26y35, cuantos están entre 36y75 y cuántos están fuera de rango?
* Dado en N números por teclado determinar cuántos son mayores a 7 y cuántos son menores?
![Page 16: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/16.jpg)
Respuesta
![Page 17: David santiago montilla](https://reader033.fdocument.pub/reader033/viewer/2022061201/547934ccb4795968098b46c3/html5/thumbnails/17.jpg)
FIN