Four simple Visual Basic (VB) questions

Four simple Visual Basic (VB) questions

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

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

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

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

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper