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
1 answer:
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
Step 1. <span>
Add </span>
9 <span>
to both sides </span>
Step 2. Simplify to Step 3. Divide both sides by Step 4. Cancel 1 on both sides Step 5. Divide both sides by 4 Done! :) Hope this helps! :) To check follow these steps below: Step 1. Let h = 0 Step 2. Simplify 4 * 0 to 0 Step 3. Simplify 1 + 0 to 1 <span>
Step 4. </span><span>
Simplify 8 * 1 to 8 </span>
<span>
Step 5. </span><span>
Simplify -9 -8 to -17 </span><span>
</span>
<span>
Done! :) </span>
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
The answer is b I believe but ion really know good luck
Answer:
9
Step-by-step explanation:
We have to multiply 60 by 15%
15% = = 0.15, hence
number of text = 60 × 0.15 = 9
A 2500 you want the biggest sample size possible for more accurate results