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
ANEK [815]
3 years ago
11

Which for loop will iterate 100 times? Group of answer choices for (i = 0; i < 99; i++) for (i = 1; i < 99; i++) for (i =

0; i < 100; i++) for (i = 1; i < 100; i++)
Computers and Technology
2 answers:
cupoosta [38]3 years ago
8 0

Answer:

for (i = 0; i < 100; i++);

Explanation:

olga2289 [7]3 years ago
6 0

Answer:

for (i = 0; i < 100; i++)

Explanation:

Required:

Which will iterate 100 times.

Analysing the loops one after the other

<em></em>for (i = 0; i < 99; i++)<em></em>

This loop begins at 0; i.e i = 0

and ends at 98; i.e. i<99

From 0 to 98 is 99; i.e. 98 - 0 + 1 = 99

<em>Hence, this loop will iterate in 99 times</em>

<em></em>for (i = 1; i < 99; i++)<em></em>

This loop begins at 1; i.e i = 1

and ends at 98; i.e. i<98

From 1 to 98 is 98; i.e. 98 - 1 + 1 = 98

<em>Hence, this loop will iterate in 98 times</em>

<em></em>

<em></em>for (i = 0; i < 100; i++)<em></em>

This loop begins at 0; i.e i = 0

and ends at 99; i.e. i<100

From 0 to 99 is 100; i.e. 99 - 0 + 1 = 100

<em>Hence, this loop will iterate in 100 times</em>

<em></em>for (i = 1; i < 100; i++)<em></em>

This loop begins at 1; i.e i = 1

and ends at 99; i.e. i<100

From 1 to 99 is 99; i.e. 99 - 1 + 1 = 99

<em>Hence, this loop will iterate in 99 times</em>

You might be interested in
Using your idea about how to solve this DUI problem, list two actions you can take that will make more people aware of this issu
s2008m [1.1K]
Drunk driving seems to be a big problem with teens because they are usually not experienced in driving. Once they drink and drive they have a false sense of invincibility and make poor decisions behind the wheel. In order to keep the numbers of drunk teen crashes declining, there should be testimonial videos of the people that have been affected by drunk drivers.

Another idea is, one group trying to end drunk driving. It's mission is to end drunk driving, help fight drugged driving, support the victims of these violent crimes, and prevent underage drinking.

Hope I helped !!!!^_~!!!
8 0
4 years ago
In what year did the first ibm personal computer debut
m_a_m_a [10]

Answer:

IBM's own Personal Computer (IBM 5150) was introduced in August 1981, only a year after corporate executives gave the go-ahead to Bill Lowe, the lab director in the company's Boca Raton, Fla., facilities. He set up a task force that developed the proposal for the first IBM PC.

4 0
3 years ago
And there you go <br> sorry its saying my thing is tooo small
zaharov [31]

Answer:

Global knowledge is the answer

6 0
4 years ago
Read 2 more answers
My mom hid my laptop and now I can't find it​
Svetach [21]

Answer: did you look everywhere ask for it and be like mom i wont do (whatever you did) ever again so please give me a chance can i plsss!!!!!! have it back?

Explanation:

simple as that step by step

3 0
3 years ago
What is the main difference between inserting header/footer in excel and word?​
irina [24]

Answer:

A header is at the top of the page and used for titles and epicas. The footer is used for footnotes or page numbers

8 0
3 years ago
Other questions:
  • Convert each of the following bit patterns into whole numbers. Assume the values are stored
    14·1 answer
  • Add three methods to the Student class that compare twoStudent objects. One method should test for equality. A second method sho
    13·1 answer
  • Which best describes the condition under which the Unicode output is the same as plain text?
    7·1 answer
  • A user is troubleshooting a mobile device app that is displaying errors and has contacted the app manufacturer’s technical suppo
    14·1 answer
  • allows Internet telephony service providers to deliver telephony services and unified communications applications offering voice
    14·1 answer
  • Create a script that creates a new local variable.<br>• Name: BETTY<br>Value: Holberton<br>​
    6·1 answer
  • What is c also write it's features
    8·2 answers
  • Katla is a project manager. One of the programmers on her team comes to her and says that he permanently deleted some code mista
    5·1 answer
  • _________________ component defines the correct granularity for access controls and oversees the relationships between identitie
    13·1 answer
  • 15. It is the process of capturing data or translating information to recording format
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!