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
What are some good editing software apps for pc?
Anettt [7]

Answer:

If you have the money, buy Adobe Premiere Pro and Adobe After Effects (which is usually used in post-production).

If you need free ones many websites say Filmora, OpenShot, and Lightworks but I've used Filmora before and it's alright.

6 0
3 years ago
Which term describes a protocol to manage a network able to configure out a network monitor activity and control devices
cricket20 [7]

Answer:

im not sure but my brother told me it's Simple Network Management Protocol

7 0
3 years ago
Which type of classroom enables students to attend lectures without being physically present with the teacher?
Kisachek [45]
An online class? I think lol
5 0
3 years ago
Which type of computer allows the user to enter text by handwriting
mixer [17]

Answer:Pen computing refers to any computer user-interface using a pen or stylus and tablet, over input devices such as a keyboard or a mouse.

4 0
4 years ago
Is a collection of computers and other devices that are connected in order to enable users to share hardware, software, and data
antoniya [11.8K]
That would be a Network.
8 0
3 years ago
Other questions:
  • What is TCP/IP's Transport layer's primary duty?
    8·1 answer
  • Max needs to study more effectively to get a better grade on his next exam. What can he do to improve his study habits? Check al
    10·2 answers
  • A computer emergency response team is called at midnight to investigate a case in which a mail server was restarted. After an in
    8·1 answer
  • Abram was asked to explain to one of his coworkers the XOR cipher. He showed his coworker an example of adding two bits, 1 and 1
    5·1 answer
  • entry that has the address of 192.168.101.0 and the wildcard mask of 0.0.0.255. What is the range of IPv4 addresses that will be
    8·1 answer
  • You use a __________________ tool to push wires into a keystone jack and cut off the end of the wires.
    7·1 answer
  • Can someone help me out with this question?​
    9·1 answer
  • Write an expression that computes the integer average of the int variables exam1 and exam2 (both declared and assigned values).
    15·1 answer
  • The term integration refers to the ability to
    9·1 answer
  • The severity of a burn or shock is not dependent on
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!