Monday, June 14, 2021

Aula 8 - Mod 7 - Projeto IV

 1 form


4 frame


7 label


6 textbox


1 image


a = Val (Text1.Text)


b = Val (Text2.Text)


c = Val (Text3.Text)


delta = b * b - 4 * a * c


Text4.Text =  delta


x_1 = ( -b + Math.Sqr(delta)) / 2 *a


x_2 = ( -b + Math.Sqr(delta)) / 2*a


Text5.Text = x_1

Text6.Text = x_2

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