1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
galina1969 [7]
3 years ago
7

Explain what the loop does and what the result of executing it will be.

Computers and Technology
1 answer:
Studentka2010 [4]3 years ago
5 0

Answer:

The loop increments the value of new while the loop condition is true

The end value of new is 3

Explanation:

Given

The above code segment

Required

What the loop does and the result

We have:

new = 0 --- initialize new to 0

i = 3; i \le 5; i++ --- The loop condition;

i.e. the loop will be repeated 3 times (when i = 3, 4 and 5)

new = new + 1 --- For each increment of i, new is incremented by 1

So, the value of new is:

<em>i = 3: new = 0 + 1 = 1</em>

<em>i = 4: new = 1 + 1 = 2</em>

<em>i = 5: new = 2 + 1 = 3</em>

You might be interested in
Kevin is working on a financial project that involves a lot of statistical information. He needs software that allows him to ent
makvit [3.9K]

Answer: Spreadsheet Software

If Kevin would use a spreadsheet software, he will be able to input all of the statistical data and have the software generate graphs of the data that he has inputted into the spreadsheet. Using a spreadsheet software, Kevin will also have access to changing the graphs data whenever an anomaly has been detected.

Some of examples of these software would be:

  • Microsoft Excel
  • Open Office
  • Google Sheets
  • LibreOffice

8 0
3 years ago
Which event represents an example of social media being used in an
Semmy [17]
Hello!

The answer is:
-D. Communication with friends and family after other systems were disabled by a major earthquake.

I hope this helps you! :)
7 0
2 years ago
A _____ is a predefined text format that includes multiple formatting options.
VladimirAG [237]
A style is a predefined text format that includes multiple formatting options.
7 0
3 years ago
I need this answer right away!
Degger [83]

Answer:

Foundation.

Bootstrap. 2.1 Resources.

Metro UI.

jQuery Mobile.

Sencha Touch.

Ionic.

HTML KickStart.

Semantic UI

Explanation:

5 0
3 years ago
What is the definition of phishing with an example
Diano4ka-milaya [45]
Phishing is an ability of fraudulently obtaining personal info.
synonyms: Fraud and scam
8 0
3 years ago
Other questions:
  • Which expansion slot is used by an NVMe compliant device?
    9·1 answer
  • Following are groups of three​ phrases, which group states three ways to improve your​ concentration?
    13·1 answer
  • Show the printout of the following code.
    14·1 answer
  • How to eject a flash drive from chromebook?
    6·1 answer
  • 80 points two simple computer questions
    13·2 answers
  • A relational database is different from a simple database because it has more than one _____.
    13·1 answer
  • Dave has to create animations for a game. Which tool can Dave use?
    6·1 answer
  • How long does it take rblx to re open deleted acc
    8·2 answers
  • ¿La tecnología ha esclavizado al hombre?
    15·1 answer
  • Carl wants to add two new characters to the extraterrestrial battleship game he's
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!