Monday, April 26, 2021

Aula 5 // projeto 1

 Fahrenheit para Celsius 


1 Form                   Caption

1 Frame                 Caption

3 Label                  Caption 

3 TextBox              Text

3 Command          Caption


f = Val (Text1 . Text)

c = (5/9) * (f - 32)

Text2 . Text = c


If c < 20 Then

     Text3 . Text = “Dia frio”

ElseIf c >= 20 And c <= 23 Then

     Text3 . Text = “Dia agradável”

Else

      Text3 . Text = “Dia quente” 

End If

Wednesday, April 7, 2021

Aula 4

 A condicional If... Then... Else

=          igual

<>       diferente

>         maior que

<         menor que

>=       maior ou igual

<=       menor ou igual


If <condição> Then

              true

Else 

              false

End If

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    ...