como comparar dos numeros y saber el cual presentacion

7
5TO PERITO CONTADOR COMO COMPARAR DOS NUMEROS Y SABER EL CUAL NUMERO ES EL MAYOR Y CUAL ES EL MENOR

Upload: hector-cruz

Post on 26-Dec-2015

4 views

Category:

Documents


0 download

DESCRIPTION

Es un simple ejercicio de programación que nos puede ayudar a comprender la función básica de una decisión.

TRANSCRIPT

Page 1: Como Comparar Dos Numeros y Saber El Cual Presentacion

5TO PERITO CONTADOR

COMO COMPARAR DOS NUMEROS Y SABER EL CUAL

NUMERO ES EL MAYOR Y CUAL ES EL MENOR

Page 2: Como Comparar Dos Numeros y Saber El Cual Presentacion

PRIMERO

ABRIMOS EL PROGRAMA DE VISUAL BASIC EXPREES 2012

Page 3: Como Comparar Dos Numeros y Saber El Cual Presentacion

SEGUNDO

CREAMOS UN NUEVO PROYECTO Y ELEGIMOS LA OPCION APLICACIÓN DE WINDOWNS FORM Y LE DAMOS ACEPTAR

Page 4: Como Comparar Dos Numeros y Saber El Cual Presentacion

TERCERO

UNA VEZ CREADO, EMPEZAMOS A BUSCAR LAS HERRAMIENTAS PARA EL PROGRAMA, EN LA OPCION CUADRO DE HERRAMIENTAS

Page 5: Como Comparar Dos Numeros y Saber El Cual Presentacion

CUARTO

BUSCAMOS LAS HERRAMIENTAS, 4 TEXTBOX, 4 LABELS, 1 BUTTON, LES CAMBIAMOS NOMBRE Y COLOCAMOS EN EL WINDOWNS FORM

Page 6: Como Comparar Dos Numeros y Saber El Cual Presentacion

QUINTO

LE DAMOS DOBLE CLIKC AL BUTTON Y EMPEZAMOS A ESCRIBIR EL CODIGO, PRIMERO DECLARAMOS LAS VARIABLES Y LUEGO EL RESTO.

Page 7: Como Comparar Dos Numeros y Saber El Cual Presentacion

SEXTO

EJECUTAMOS EL PROGRAMA