visual basic

User Generated

HFRE_ERZBIRQ_YRTNY_1624

Programming

Description

Write an application to calculate the average of one-dimensional array {10, 20, 30, 40, 50}. Hint: you can calculate the average by: Total of array / Length of array.

Write a program to list two-dimensional array {{10, 10}, {20, 20}, {30, 30}, {40, 40}, {50, 50}} in a list box. Use For…Next statement to loop through the array.

Write the code to read a file “Movies.txt” from your local drive, then show its content on a list box. Make sure the file exists, otherwise, show a message that says “File doesn’t exists” .

Based on the table below, write an application to make a user input GPA value into an input box to retrieve student's information; e.g. find all students whose GPA is greater than 3. Then, show the result on the gridview.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Attached.

Write an application to calculate the average of one-dimensional array {10, 20, 30, 40, 50}. Hint: you
can calculate the average by: Total of array / Length of array.
Public Class Form1
Private
Dim
Dim
Dim
For
upperbound

Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
val() As Intege...

Related Tags