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
lesya [120]
3 years ago
7

What is nbr2 at the end of the program segment execution? nbr2 = 0 calc = 1 x = 7 while x >=3 calc = calc * x x = x - 2

Mathematics
1 answer:
Rashid [163]3 years ago
5 0

Answer:

nbr2 = 0

Step-by-step explanation:

Given

The following program segment

<em>nbr2 = 0 </em>

<em>calc = 1 </em>

<em>x= 7 </em>

<em>while x >=3: </em>

<em>    calc = calc * x </em>

<em>    x = x - 2</em>

<em />

Required

The value of nbr2

In the first line, nbr2 was initialized to 0 i.e.

<em>nbr2 = 0</em>

<em />

From the second line of the program till the last, no operation was carried out on nbr2

This means that nbr2 will maintain its original value (which is 0)

Hence,

<em>The value of nbr2 is 0</em>

You might be interested in
Solution -9-8(1+4h)= -17
geniusboy [140]
Step 1. <span>Add </span>9<span> to both sides

</span>-8(1+4h)=-17+9

Step 2. Simplify -17+9 to -8

-8(1+4h)=-8

Step 3. Divide both sides by -8

1+4h=1

Step 4. Cancel 1 on both sides

4h=0
 Step 5. Divide both sides by 4

h=0

Done! :) Hope this helps! :)

To check -9-8(1+4h)=-17 follow these steps below:

Step 1. Let h = 0

-9-8*(1+4*0)=-17

Step 2. Simplify 4 * 0 to 0

-9-8*(1+0)=-17

Step 3. Simplify 1 + 0 to 1

-9-8*1=-17
<span>
Step 4. </span><span>Simplify  8 * 1 to 8
</span>
-9-8=-17
<span>
Step 5. </span><span>Simplify -9 -8 to -17
</span><span>
</span>-17=-17
<span>
Done! :)
 </span>
5 0
3 years ago
Read 2 more answers
Can anyone help me plzz ?? Lakita has 66 water bottles for the 5K race participants. In addition, she is planning to buy boxes o
asambeis [7]

Answer: she will buy 60 but if she add up all the water bottles togeather it will be 126 but the answer is 60


Step-by-step explanation: so first you have to make 5 boxes on a pice of paper and put 12 lines in each box and you count all the lines in the boxes togeather and they will equal 60 water bottles so the answer is 60


3 0
3 years ago
What is the answer hurry
Nitella [24]
The answer is b I believe but ion really know good luck
4 0
3 years ago
Yesterday,Bethany sent 60 text messages. she said 15 percent of those messages were to her best friend. How many texts messages
dimulka [17.4K]

Answer:

9

Step-by-step explanation:

We have to multiply 60 by 15%

15% = \frac{15}{100} = 0.15, hence

number of text = 60 × 0.15 = 9


7 0
3 years ago
Read 2 more answers
The police department of a city with a population of 250000 wants to know how many residents wear their seatbelts regularly. whi
Alex Ar [27]
A 2500 you want the biggest sample size possible for more accurate results
4 0
3 years ago
Read 2 more answers
Other questions:
  • Simplify: ( y^−7 × y^−3 )−1 A. y−21 B. y 21 C. y−10 D. y 10
    7·1 answer
  • Someone help please
    10·1 answer
  • Assume y varies directly as x.
    12·1 answer
  • What is 18 diveded into 252. Show me to solve
    10·1 answer
  • Someone please help me asap! :)
    6·2 answers
  • 5,941mm=5.941what help plzzz
    8·1 answer
  • What is 1+1+343342342252525? i have no idea what it is sjhdgd
    10·1 answer
  • Rebekah wants to read a certain number of pages each day during summer vacation.
    8·2 answers
  • 63+6/3 -8 please help I need it rn
    12·2 answers
  • Please help!<br><br> what is the slope of a line that is parallel to y= 3x+5?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!