Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Visual Basic 11. Which loop computes the sum of 1/2+2/3+3/4 +4/5...+99/100? (A) For n As Integer 1 To 99 (B) For q As Integer 100

Visual Basic image text in transcribed
11. Which loop computes the sum of 1/2+2/3+3/4 +4/5...+99/100? (A) For n As Integer 1 To 99 (B) For q As Integer 100 To 1 (c) For d As Integer 2 To 99 (D) For x As Integer 1 To 100 s+ n / (1 n) Next Next Next Next (E) none of the above 12. In the following code segment, what role does the variable check serve? Dim counter As Integer, check As Boolean Do While counter20 counter += 1 If counter 10 Then check = True End If Loop (A) counter (B) accumulator (C) flag (D) loop control variable (E) none of the above

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_2

Step: 3

blur-text-image_3

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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago