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
Kyle notices that the number of likes he receives each day on his social media page is a function. He decides to create a graph
nadya68 [22]

Answer:

D) 360

Step-by-step explanation:

The data Kyle collected is (0, 0), (1, 12), and (2, 24), where x represents days and y represents likes.

We can write a linear function to model this situation.

This will be of the form

y = mx

because it passes through the origin , where m is the slope.

The slope is

m =  \frac{12 - 0}{1 - 0}  = 12

Hence the equation is

y = 12x

To find the number of likes on the 30th day, we put x=30 into the equation to get:

y = 12 \times 30 = 360

The correct choice is D

5 0
2 years ago
The function y = 3.75 + 2.50(x - 3) can be used to determine the cost in dollars for a uber ride of x miles. What is the rate of
stepan [7]
<span>The cost of each mile is $2.50.

If you simplify the expression given you will get the following.
y = 3.75 + 2.50(x - 3)
y = 3.75 + 2.50x - 7.50
y = 2.50x - 3.75.

Knowing that x is the number of miles and 2.50 is the number being multiplied by, we know that the cost per mile is 2.50. </span>
4 0
3 years ago
Read 2 more answers
A gardener is planting two types of trees: Type A is 4 feet tall and grows at a rate of 24 inches per year. Type B is 5 feet tal
goldenfox [79]
It would take 5 yrs. for both trees to be the same height.
4 0
3 years ago
The sum of my ones digit and tens digit is 10. My tens digit is greater than my ones digit i am a prime nuber what number an i ?
VMariaS [17]
........................73...............
5 0
2 years ago
Which expression is equivalent to √4j^4/9k^8?
solmaris [256]
\frac{ 2j^{2} }{ 3^{4} }
SQRT each individual bit: 4 andj^{4} and 9 and k^{8}
6 0
3 years ago
Read 2 more answers
Other questions:
  • Mr. Porter owns a house. When he first bought the house it was valued at d dollars. Since then, the value of the house has incre
    13·2 answers
  • 11. -2+b&lt;3
    6·1 answer
  • What is (-7)^-1 and how do you do it
    8·2 answers
  • What is 4/3 as a fraction.
    14·1 answer
  • If (2)x=1 what is the value of x?
    8·2 answers
  • Divide (-2x-3+8x^2) by (1 + 4x)
    6·1 answer
  • How do the expressions 4(3+x) and (3+3+3+3) + (x+x+x+x) compare to one another
    9·2 answers
  • URGENT: What is (x²-7x+11)x²-11+30??
    11·2 answers
  • HELP ME WITH THIS QUESTION PLEASE
    9·1 answer
  • The graph of y = f(x) is the solid black graph below. Which function represents the dotted graph? ​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!