Question: The program that is used is Visual Basic Problem 2 -VB Basics a) Write a VB statement to define a 1-D array A and assign

The program that is used is Visual Basic  The program that is used is Visual Basic Problem 2 -VB

Problem 2 -VB Basics a) Write a VB statement to define a 1-D array A and assign its elements as follows: A I 1 2 3 100 b) Write a VB statement using a loop to find the summation of the elements in A and assign it to variable S c) Write a VB statement to simulate the outcome of rolling a dice. (i.e., generate an equally probable random integer between I and 6) d) Write a VB function called circle area, which takes the radius of a circle as input and returns its area

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!