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
What is the volume?
kogti [31]

Answer:

1282.82ft³

Step-by-step explanation:

To find the volume of the entire shape, we first need to find the volume of the cone and the cylinder separately.

Let's begin by getting the volume of the cylinder.

The formula to find the volume of a cylinder is:

V=\pi r^{2}h

r = 7 ft

h = 6 ft

Let's plug in our values into the formula.

V=\pi (7)^{2}6

V=\pi (49)6

V=\pi (294)

V=923.63ft³

Now that we have the volume of our cylinder we need to find the volume of the cone.

The volume of the cone can be found by using the formula:

V=\dfrac{1}{3}\pi r^{2}h

Our variables for the cone are:

r = 7 ft

h = 7 ft

V=\dfrac{1}{3}\pi (7)^{2}(7)

V=\dfrac{1}{3}\pi (49)(7)

V=\dfrac{1}{3}\pi (343)

V=\dfrac{1}{3}1077.57

V=359.19ft³

Now that we found both of the volumes of the two shapes, we can then simply get the sum of both volumes to get the total volume of the shape.

Total Volume = 923.63ft³ + 359.19ft³

Total Volume = 1282.82ft³

4 0
3 years ago
HELPPPP!!!! Come on guys help me plzzz
bulgar [2K]

Answer:

its hard to see

Step-by-step explanation:

7 0
3 years ago
If Bert had 3 cents more he would have twice as much as Georgia. If he had 4 cents less, he would have the same amount. How many
Ad libitum [116K]
Bert has 11 cents. Georgia has 7 cents. 
5 0
3 years ago
Read 2 more answers
Any number raised to the power of zero is zero true or false
beks73 [17]

Answer: Any number times zero is zero, it can never equal something else.

Step-by-step explanation: My teacher taught me this before so i know :)

8 0
3 years ago
Read 2 more answers
The x-intercepts of the gravy of f (x)= x (x+1)(x-5)(x-7) are
Serhud [2]
"Of the gravy" lol

To find the x-intercepts, you make f(x) = 0 and solve for x by setting each factor equal to 0. 

0 = x(x + 1)(x - 5)(x - 7)

x = 0

x + 1 = 0
x = - 1

x - 5 = 0
x = 5

x - 7 = 0
x = 7

Your x-intercepts are x = - 1, 0, 5, 7

OR

There are x-intercepts at (- 1, 0), (0, 0), (5, 0), and (7, 0). 
8 0
3 years ago
Other questions:
  • A bike and skate shop rents bikes for $21 per day and pairs of skates for $20 per day. To remain viable, the shop needs to make
    13·2 answers
  • A questionnaire provides 54 yes, 33 no, and 33 no-opinion answers. in the construction of a pie chart, how many degrees would be
    14·1 answer
  • Nathaniel is usin the quadratic formula to solve 0 = x^2+5x - 6
    10·2 answers
  • The best way to describe the reflection of a figure about y-axis is:
    8·1 answer
  • Which undefined term is used to define an angle
    8·2 answers
  • Algebra image below please help I’m struggling I will mark Brainly
    5·1 answer
  • Mark branilest if right and show work
    5·1 answer
  • (100 POINTS) URGENT PLEASE HELP
    15·1 answer
  • The sum of two numbers is 84. The square of the first number is 6 more than the second number.
    5·1 answer
  • 1_&lt;2x-4
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!