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
antiseptic1488 [7]
4 years ago
9

What is the value of count after the last iteration of the outer for loop? Be sure to show your work.

Mathematics
1 answer:
Elenna [48]4 years ago
6 0

Answer:

count := -16

Step-by-step explanation:

Let's compute this step by step

count starts at 0

Then i is equal to 1

Then j = 1

count := 1(0-1) := -1

Now j = 2

count := 2(-1-1) := -4

Now i =2 and j = 1

count := 1(-4-2) = -6

Now j = 2

count := 2(-6-2) = -16

End

End

So, after the last iteration of the outer for loop, count is equals to -16.

You might be interested in
a triangle has one leg of 32 inches and one leg of 18 inches. For the triangle to be a right triangle, which best represents the
scZoUnD [109]
You take the square roots √18²+32² = 36.7 
Hope this helps. 
6 0
4 years ago
Divide. 21,900 / 25. Enter the exact quotient <br><br><br> Help me
andre [41]

Answer:

107 %

3 %

100 /8

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
In January the price of brand x rice was
Nuetrik [128]
In January the price of brand x rice was 2$.
4 0
3 years ago
First one to get the correct answer AND answer first gets points and a bonus .
Paha777 [63]

Answer:

Its 1

Step-by-step explanation:

4 0
3 years ago
Provide a counterexample:
Jobisdone [24]

Answer:

a=2 \quad \text{and} \quad b=-2

Step-by-step explanation:

Take a=2 \quad \text{and} \quad b=-2, note that

2=(-1)\cdot(-2)

hence b divides a. On the other hand, we have that

-2=(-1)\cdot2

which tells us that a divides b. Moreover, a=2 \neq -2=b.

5 0
3 years ago
Other questions:
  • Identify the independent and dependent variables in the situation. The amount of electricity used for air conditioning in homes
    15·1 answer
  • D. 48.1<br> Math question don't guess Please help
    13·1 answer
  • Write an expression to represent the total number of legs on h horses and c chickens .How many legs are there in 5 horses and 6
    14·2 answers
  • Keith has $500 in a savings account at the beginning of the summer. He wants to have at least $200 at the end of the summer. He
    11·1 answer
  • I don’t know the answer
    10·1 answer
  • 3. Three resistors with values of 3 Ω, 4 Ω and 5 Ω are connected to a 12 V battery.
    8·1 answer
  • Identify the key components and write an inequality for each graph:
    8·1 answer
  • Hello I made a pad let GC for people that stays up all night, and on this gc you can make friends or meet new people. Here's the
    5·1 answer
  • Use the information given to write the equation in point-slope form. slope
    15·1 answer
  • 6. Lisa was making $8.15 per hour at her after-school job. She receives a 20% raise.
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!