Public Class Form1 Dim Vectcalificacion() As Integer Dim fila% = 0 Dim suma As Double Dim c As Integer Dim prom As Double Dim num As Integer Private Sub BtnGuardarnum_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnGuardarnum.Click num = TxtBnum.Text If num <= 100 Then num = num Else MsgBox("numero excedido") End If ReDim Vectcalificacion(num) End Sub Private Sub guardar() If fila < num Then Vectcalificacion(fila) = CInt(TxtBCal.Text) If TxtBCal.Text >= 0 And TxtBCal.Text <= 10 Then fila = fila + 1 Else MsgBox("no es una calicficacion, prueba otra vez") End If MsgBox("ALUMNO INGRESA TUS DATOS", MsgBoxStyle.Information, MsgBoxStyle.OkOnly) TxtBCal.Text = "" TxtBCal.Focus() Else MsgBox("BASE DE DATOS LLENA") End If End Sub

Private Sub media() suma = 0 For i = 0 To num suma = suma + Vectcalificacion(i) suma = suma Next prom = suma / num Lblprom.Text = prom End Sub Private Sub BtnListar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnListar.Click For i = 0 To (num - 1) c = Vectcalificacion(i) LstBCal.Items.Add(c) Next End Sub Private Sub BtnProm_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnProm.Click media() End Sub Private Sub BtnGuardar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnGuardar.Click guardar() End Sub Private Sub BtnMenor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnMenor.Click Array.Sort(Vectcalificacion) LblMenor.Text = Vectcalificacion(1).ToString End Sub Private Sub BtnMayor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnMayor.Click Array.Sort(Vectcalificacion) LblMayor.Text = Vectcalificacion(num).ToString End Sub End Class

Ejercicio 2. vector dinamico.pdf

Private Sub BtnGuardarnum_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles. BtnGuardarnum.Click. num = TxtBnum.Text.

185KB Sizes 2 Downloads 294 Views

Recommend Documents

Ejercicio Set.pdf
Page 1 of 2. PROGRAMACIÓN ORIENTADA A OBJETOS. Ejercicio de Set y SortedSet. Ejercicio 1. Supongamos un tipo Vuelo con las siguientes propiedades:.

Ejercicio 2-de-writer-tanda.pdf
Usa la opción Seleccionar todo del menú Editar para seleccionar todo el. documento. Borrar. • Sin selección: • Usa la tecla Supr para borrar el carácter que está ...

EJERCICIO 28.pdf
Maecenas lorem leo, aliquet in ligula ac, pretium viverra libero. Phasellus sit amet faucibus sapien, sit amet bibendum velit. Ut vestibulum vestibulum tristique.

Vector Integration Tutorial 2.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Vector ...

Vector Calculus Tutorial 2.pdf
Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps.

Vector Integration Tutorial 2.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Vector Integration Tutorial 2.pdf. Vector Integration Tutorial 2.pdf. Open. Extract. Open with. Sign In. Mai

1 Introduction 2 Vector magnetic potential - GitHub
Sep 10, 2009 - ... describes the derivation of the approximate analytical beam models ...... of the source whose solution was used to correct the residual data.

Ejercicio 07.pdf
94 Lección 4: Dar formato a una hoja de trabajo. DO NOT DUPLICATE. Instructor Edition. Page 2 of 2. Ejercicio 07.pdf. Ejercicio 07.pdf. Open. Extract. Open with.

Ejercicio 8 Tablas.pdf
Page 1 of 1. I.E.S. La Encantá 1 ESO Informática. Tema 4 Procesador de textos. Actividad 8: Tablas. 1.- Tienes que crear las siguientes tablas respetando el formato. Alicante Castellón Valencia C.Valenciana. Nacimientos 13.578 4.448 20.539 38.565.

EJERCICIO 3.pdf
Page 1 of 4. {, -1-. Ufti'uorsidad dc San Carlos de Guatemala. Facultad'dg CirErncias Esonómicas. Dcpartameurto de Área Común. a¿+riii;á m-ñii;Jli'JJm d; ñoJd ...

EJERCICIO 1.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. EJERCICIO 1.Missing:

EJERCICIO 3 ETICA 8°.pdf
... sobre valores morales, elaborando varias teorías al respecto; y Nietzsche, quien define que .... Internet, escríbelo. g. ... Displaying EJERCICIO 3 ETICA 8°.pdf.

ejercicio-de-la-viborita.pdf
Para ello simplemente dibujaremos cuatro círculos de. colores diferentes. Acto seguido copiaremos el disfraz, agregando un círculo a cada nuevo disfraz.

Ejercicio 3-de-writer-tanda.pdf
a la informática sólo Ada Lovelace cuenta con un lenguaje de programación. que lleve su nombre: el lenguaje de programación Ada. (Cuatro) Siguió estudios ...

Tom-Clancy-Locked-On-Threat-Vector-2-in-1-Collection.pdf
Page 3 of 3. Tom-Clancy-Locked-On-Threat-Vector-2-in-1-Collection.pdf. Tom-Clancy-Locked-On-Threat-Vector-2-in-1-Collection.pdf. Open. Extract. Open with.

A vector similarity measure for linguistic approximation: Interval type-2 ...
interval type-2 fuzzy sets (IT2 FSs), the CWW engine's output can also be an IT2 FS, eA, which .... similarity, inclusion, proximity, and the degree of matching.''.

U Ejercicio C CTAS INCOB 2017.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. U Ejercicio C ...

Vector Seeker
The tools to take ad- vantage of these extensions require programmer assistance either by hand coding or providing hints to the compiler. We present Vector Seeker, a tool to help investigate vector par- allelism in existing codes. Vector Seeker runs

Vector Practice
Vector Practice. 1. Which of the following are unit vectors? (a) a = . (b) b = . (c) c = (. 4. 3. √. 5. ,-. √. 5. 3. , 2. 3. √. 5. ) (d) d = (. 1. √. 3. , 1. √. 3.

VECTOR & MATRIX
Lists - arbitrary collections of objects of any type, e.g. list of vectors, list of ... ”R”contains different libraries of packages. Packages .... Numeric vectors. • Character ...

Buddhacarita 2.1-5, ejercicio de traducción.pdf
artha-gaja-aśva-mitraiḥ: DV inst. n. pl. ववृददद्धिं ससआत्रै ससननन्धुररवआममन्धुवनोगत्रैतः ॥२-१॥ vṛddhiṃ yayau sindhurivāmbuvegaiḥ ||2-1||.

piano vector
Page 1. INDIDIT IN DIWIWITI IN III.