The following loop repeats its instructions as long as (or while) the value in the dblSales variable is less than 200000 so it will stop when the dblSales variable's value is greater than or equal to 200000. Please complete the first line of the loop using Do While ....statement. Do While ... dblIncrease = dblSales * dblGrowth_Rate dblSales += dblIncrease intYears += 1 Loop

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 4RQ: Which of the following is not required of a loop control variable in a correctly working loop? It is...
icon
Related questions
Question
100%

The following loop repeats its instructions as long as (or while) the value in the dblSales variable is less than 200000 so it will stop when the dblSales variable's value is greater than or equal to 200000. Please complete the first line of the loop using Do While ....statement.

 

Do While ...

   dblIncrease = dblSales * dblGrowth_Rate

   dblSales += dblIncrease 

   intYears += 1

Loop  

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
ListBox
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning