Sie sind auf Seite 1von 2

Colegio Leonard Euler Computacin

PROGRAMA CALCULADORA
Realice el siguiente diseo:

Programe el siguiente cdigo:


- En el botn suma:
Text3.Text = Val(Text1.Text) +
Val(Text2.Text)

- En el botn resta:
Text3.Text = Val(Text1.Text) -
Val(Text2.Text)

- En el botn multiplicacin:
Text3.Text = Val(Text1.Text) *
Val(Text2.Text)

- En el botn divisin:
Text3.Text = Val(Text1.Text) /
Val(Text2.Text)

PROGRAMA PROMEDIO DE NOTAS

- En el botn CALCULAR PROMEDIO:


Text5.Text = (Val(Text1.Text) + Val(Text2.Text) +
Val(Text3.Text) + Val(Text4.Text)) / 4

Profesor: Ral De la cruz


Colegio Leonard Euler Computacin

PROGRAMA AREA DE TRIANGULO

- En el botn CALCULAR AREA DEL


TRIANGULO:
Text3.Text = Val(Text1.Text) * Val(Text2.Text) / 2

PROGRAMA ACCESO AL SISTEMA

- En el botn INGRESAR AL SISTEMA:


If Text1.Text = "RAUL" And Text2.Text = "123456"
Then
Form2.Show
Else
MsgBox "NO PUDO ACCEDER AL SISTEMA"
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
End If

TENEMOS QUE AGREGAR UN SEGUNDO


FORMULARIO TAL COMO LO INDICA LA
IMAGEN.

A ESTUDIAR!!!!!!!!!!

- Pegar en el cuaderno ambas hojas.


- En caso de que el cuaderno no est al da, la nota ser desaprobatoria y no tomara el
examen.
- El examen ser 50% en hoja y 50% en computadora.

Profesor: Ral De la cruz

Das könnte Ihnen auch gefallen