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
Solve the following equations 19=7+y
Svetlanka [38]
Subtract the 7 from both sides,
you are left with
11=y
5 0
3 years ago
Read 2 more answers
ABCD Is a rectangle that represents a park.
Andru [333]

Answer:

Shortest distance from A to C = 102.9005 m.

Step-by-step explanation:

It is given that, ABCD is a rectangular park.

The length of the park is 80 m.

The breadth of the park is 50 m.

The diameter of the circle = 15 m.

We have to calculate the shortest distance from A to C across the park.

The distance AC = \sqrt{50^{2}+80^{2} } = 94.339 m.

As one has to pass only through the lines shown, he cannot pass through the circle.

So, we have to subtract the diameter of 15 m from AC

=> 94.339 m - 15 m = 79.339 m.

One must pass through either half of the circumference of the circle.

Since, diameter of circle = 15 m, its radius(r) = \frac{15}{2} = 7.5 m.

The circumference of the circle = 2×π×r = 47.123 m.

Half of the circumference = \frac{47.123}{2} = 23.5615 m.

Distance from A to C passing through circumference = 79.339 m + 23.5615 m = 102.9005 m.

As we have to calculate the shortest distance from A to C, one cannot pass  from A to C either through B or D,

since the distance ABC or ADC = 50+80 = 130 m.

Therefore, shortest distance from A to C = 102.9005 m.

3 0
3 years ago
Read 2 more answers
One angle in an obtuse isosceles triangle measures 40°. What are the measures of the other two angles?
Damm [24]
An obtuse triangle has one obtuse angle, or an angle that measures more than 90° but less than 180°. Options 1 and 2 are not correct, because these are acute angles.
So, one of the angles must be 40°, and the other may be 100° or 120°.
The measures of the angles in a triangle add up to 180°.
40^\circ + 40^\circ +x = 180^\circ \\&#10;80^\circ + x=180^\circ \\&#10;x=180^\circ - 80^\circ \\&#10;x=100^\circ
The other two angles are 40° and 100°.
5 0
3 years ago
Read 2 more answers
Find the number of degrees in the third angle of the triangle.<br> 100 degree and 49 degrees
Vesna [10]

Answer:

31

Step-by-step explanation:

4 0
2 years ago
Why is the product of 3\5 and 250 smaller than 250?
victus00 [196]
Because you are not multiplying 250 by a number larger than 1. If you multiply 250 by a number larger than 1 the product will be larger than 250. If you multiply 250 by a number less than 1 the product will be less than 250.

Hope that helps!
7 0
3 years ago
Read 2 more answers
Other questions:
  • as a gift, you fill the calendar with packets of chocolate candy. Each packet has a volume of 2 cubic inches. Find the maximum n
    5·1 answer
  • The endpoints of a diameter of a circle are A(3,1) and B(9,9). Find the area of the circle in terms of pie
    5·1 answer
  • What is the value of the digit 6 in the number 26,503?
    12·2 answers
  • What is the answer for 46% of 237?
    6·1 answer
  • 20 ounces to 25 ounces find the percent of change
    7·2 answers
  • What is the difference of 23x and 9x
    14·2 answers
  • Find the value of x​
    7·2 answers
  • HELPP IS VERY MUCH NEEDED!!!!!
    6·2 answers
  • Samuel orders four DVDs from an online music store. Each DVD costs $9.11. He has a 25% discount code, and sales tax is 7%. Round
    13·2 answers
  • Is probability and statistics part of algebra?<br><br> Thank you and have a good day! :D
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!