Question: [Multiple Choice Question] A VBA programme for calculating the function below can be written in many ways. Which one is INCORRECT? a=110(2a1)2 The symbol is
![[Multiple Choice Question] A VBA programme for calculating the function below](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f46304363d6_16366f46303a2192.jpg)
[Multiple Choice Question] A VBA programme for calculating the function below can be written in many ways. Which one is INCORRECT? a=110(2a1)2 The symbol is used to denote a sum of multiple terms. For Sub function1() Dim n As Integer, sum As Integer, i As Integ n=10 sum =0 i=1 For i=1 To n sum = sum +(2i1)2 Next i MsgBox (sum) End sub Sub function1() Dim n As Integer, sum As Integer, i As Inted n=10 sum =0 i=1 [Multiple Choice Question] A VBA programme for calculating the function below can be written in many ways. Which one is INCORRECT? a=110(2a1)2 The symbol is used to denote a sum of multiple terms. For Sub function1() Dim n As Integer, sum As Integer, i As Integ n=10 sum =0 i=1 For i=1 To n sum = sum +(2i1)2 Next i MsgBox (sum) End sub Sub function1() Dim n As Integer, sum As Integer, i As Inted n=10 sum =0 i=1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
