Monday, March 15, 2021

Aula 3

 AULA 3 

Módulo 02 - Variáveis de memória

1 Form

5 Caixa de texto

2 Botões


Propiedades

Form                Caption: Calculando média

TextBox           Text:

Command1      Caption: Calcular

Command2      Caption: Limpar



Modo código:

n1 = Val(Text1.Text)

n2 = Val(Text2.Text)

n3 = Val(Text3.Text)

n4 = Val(Text4.Text)

mf = (n1+n2+n3+n4) / 4

Text5.Text = mf


No comments:

Post a Comment

Aula 6 - Mod 15 - Projeto 5 calculo de media/nota minima

 Design ( Componentes ) 6x        Legendas        Lbl1 Lbl2 LblMedia 6x        CaixaTexto     txtB1 txtB2 txtMedia txtNm 1x        Botão    ...