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
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
Get step-by-step solutions from verified subject matter experts
