Question: 2 points [Multiple Choice Question) A VBA programme for calculating the function below can be written in many ways. Which one is INCORRECT (2a -

2 points [Multiple Choice Question) A VBA programme for calculating the function below can be written in many ways. Which one is INCORRECT (2a - 1) The symbol I is used to denote a sum of multiple terms. For example,.1-1+2+3 But tunction DISA Integer, As Thage, I AB 1 10 su - 2 3 De while 1 - 1-3 1.3 top 4 End 5 O o Tege, LATE 6 - 7 VOELT -.- 112 sum i = 1 For i = 1 Ton sum = sum + 12 * i - 1)^2 Next 1 MsgBox (sum) End Sub Sub functioni() Dim n As Integer, sum As Integer, i As Integer n 10 sum-0 1 - 1 Do sum - sum + ( 21 - 1) 2 ii + 1 Loop while not in MsgBox (sun) End Sub Sub function() Dim 1 As Integer, sum As Integer, 1 As Integer n = 10 sumo 11 Do Until 1> sum sum + 12 + 1 - 1) 2 i + 1 Loop MsgBox (sum) untuh

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 Programming Questions!