Question: ( 3 0 pts ) Write a VBA program that uses an array to solve the following problem. Given a positive integer n , find
pts Write a VBA program that uses an array to solve the following problem. Given a positive integer find the sum of all even number less than or equal to Display the sum in a messagebox.
Please ask user to enter a number,
Indicate that must be greater than and check it in your code using If End if structure.
Use Do While loop to iterate through numbers from to incrementing by in each iteration
Print all the integers to Excel Worksheet
Display the sum of even numbers in a message box.
Calculate average of all the numbers and enter them below minimum and maximum numbers on the worksheet
Provide all the necessary titles in your worksheet
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
