Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Core Ios Developer S Cookbook Core Recipes For Programmers

Authors: Erica Sadun ,Rich Wardwell

5th Edition

0321948106, 978-0321948106

More Books

Students also viewed these Programming questions

Question

Help Tony write his job description. P-96

Answered: 1 week ago