programa de el promedio de los estudiantes

Publicado en por Angie te quiere...millosss




Public

 

Class Form1

 

Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click

 

End Sub

 

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

 

Dim nombre As String

 

Dim nota1 As Double

 

Dim nota2 As Double

 

Dim nota3 As Double

 

Dim examen As Double

 

Dim trabajo As Double

 

Dim notafinal As Double

nombre = InputBox(

"ingrese nombre")

nota1 = InputBox(

"ingrese nota 1")

nota2 = InputBox(

"ingrese nota 2")

nota3 = InputBox(

"ingrese nota 3")

examen = InputBox(

"nota examen")

trabajo = InputBox(

" nota trabajo")

TextBox1.Text = nombre

TextBox2.Text = nota1

TextBox3.Text = nota2

TextBox4.Text = nota3

TextBox5.Text = examen

TextBox6.Text = trabajo

TextBox7.Text = ((nota1 + nota2 + nota3) / 3 * 0.55 + examen * 0.3 + trabajo * 0.15)

 

 

 

End Sub

 

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

 

End Sub

 

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

 

End

 

End Sub

End

 

Class

Publicidad
Para estar informado de los últimos artículos, suscríbase:
Comentar este post