martes, 8 de febrero de 2011

EJERCICIO 55

RAELIZAR LAS SIGUIENTES CALCULOS:
POTENCIA, AREA DEL CIRCULO Y LAS SIGUIENTES CONVERSIONES DE AÑOS A MESES Y DE AÑOS A DIAS.











 



' Gambas class file

PUBLIC SUB _new()

END

PUBLIC SUB Form_Open()

END

PUBLIC SUB Button3_Click()
QUIT

END

PUBLIC SUB Button2_Click()
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""

END

PUBLIC SUB Button1_Click()
TextBox3.Text = TextBox1.Text ^ TextBox2.Text
TextBox5.Text = 3.14 * (TextBox4.Text) ^ 2
TextBox7.Text = TextBox6.Text * (12)
TextBox9.Text = TextBox8.Text * (365)

END

PUBLIC SUB TextBox5_KeyPress()


END

No hay comentarios:

Publicar un comentario