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 symbol do we use to denote a character?
pychu [463]

Answer:

'Single Character'

Explanation:

A Character, commonly abbreviated as "char", is a computer symbol, letter, or number. A keyboard is an input device that inputs a character when a key is pressed.

5 0
3 years ago
Assume that success is a variable of type boolean that has been declared. Assume that processor refers to an object that provide
Iteru [2.4K]
Try {
AutoFactory.shutdown();
} catch (ProductionInProgressException e) {
AutoFactory.reset();
}
6 0
3 years ago
#5 Multiple Select Which of the following describes a hardware error? Select 3 options.
DENIUS [597]

Answer:

A, E

Explanation:

Hope this is correct

7 0
3 years ago
Read 2 more answers
Edison wants to purchase a new computer and go to the Caribbean for spring break. The computer is priced at $1,299, and the vaca
Otrada [13]

Answer:

This question is imcomplete, here is the complete question

Edison wants to purchase a new computer and go to the Caribbean for spring break. The computer is priced at $1,299, and the vacation is priced at $750. He has only $1,537 in his checking account, so he cannot afford to purchase both. After much thought, Edison buys the computer and writes a check for $1,299. Identify what role money plays in each of the following parts of the story. Hint: Select each role only once. Role of Money Medium of Exchange Unit of Account Store of Value Edison can easily determine that the price of the computer is more than the price of the vacation. Edison has $1,537 in his checking account. Edison writes a check for $1,299.

Identify what role money plays in each of the following parts of the story.

Explanation:

Brian can effortlessly determine and conclude that the cost of the computer is more than that of the price of the vacation.= Unit of Account

Brian has a total amount of $1,537 in his checking account.= Store of value

Brian then writes a check for $1,299.= Medium of Exchange

5 0
3 years ago
Is the following an example of social media viral marketing? Indicate your response by selecting yes or no. When you sign onto y
Vladimir [108]

Answer

yo im sorry give me points b

Explanation:

gasefe

3 0
3 years ago
Other questions:
  • After unit and integration testing are completed, _________ testing ensures that all hardware and software components work toget
    7·1 answer
  • What is the time period of 1st generation of computer ???
    11·1 answer
  • What is the lowest and highest address of a 2^20 byte memory, if it is byte readable.
    11·1 answer
  • Where should you click to edit an existing formula?
    12·2 answers
  • printLarger is a method that accepts two int arguments and returns no value. Two int variables, sales1 and sales2, have already
    11·1 answer
  • Allie is working on the development of a web browser and wants to make sure that the browser correctly implements the Hypertext
    7·1 answer
  • Which job role requires you to create user guides for computer products and services?
    11·1 answer
  • 4.7 code practice question 2 edhesive i cant figure out the code for this problem csn anyone help me?
    5·1 answer
  • Jazmine just finished setting up an operating system that's designed to work between a VM guest OS and computer hardware. What i
    8·1 answer
  • 9- Write a program in MARIE to add three numbers.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!