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
A circular plot of land has a diameter of 14 yards. What is the area of the
Leviafan [203]

Answer:

153.86

Step-by-step explanation:

use pi x radius squared

5 0
3 years ago
Read 2 more answers
Rewrite each expression using the base only once 1) 7^3 x 7^4
Paul [167]
1) 7^3 x 7^4 = 7^(3+4) = 7^7

2) (-6)^12 x (-6)^5 x (-6)^2 = (-6)^(12+5+2) = (-6)^19

3) 2^2 x 2^7 x 2^ 0 = 2^(2+7+0) = 2^9
8 0
4 years ago
How much time it takes to read the acts of the apostles
deff fn [24]

Answer:

5

Step-by-step explanation:

it absolutely depends on how fast you study

5 0
3 years ago
Emily wants to hang a painting in a gallery. The painting and frame must have an area of 31 square feet. The painting is 5 feet
seropon [69]
Area=legnth times width=31
the frame must go around the frame with equal legnth, x
so
the total area (meaning the frame +picture) is 5+x by 6+x
31=(5+x)(6+x)
expand
31=30+11x+x^2
minus 31 both sides
0=-1+11x+x^2
x^2+11x-1=0

answer is third one
6 0
3 years ago
Read 2 more answers
So i need to get the answer to this homework, anyone help!!!!!
kaheart [24]

Answer:

B

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • Todd and Kristin each drove across the state.Todd drove 375 miles in 5 hours; Kristin drove for 6 hours. If they traveled at the
    10·1 answer
  • The owner of a candy store wants to mix some peanuts worth $3 per pound, some cashews worth $10 per pound, and some Brazil nuts
    8·1 answer
  • How many cubes with 5-inch sides will completely fill a cube that is
    13·1 answer
  • Help!!! On the train the ratio of children to adults 7:4. If there are 63 children on the train,how may adults are on the train?
    6·1 answer
  • Justin earned $8.50 per hour working at a coffee shop. 187 each week before taxes an equation to find the number of hours he wor
    10·1 answer
  • The difference between the amount of money spent on furniture and electrical appliances is 820. they spent a total of $12498 on
    11·1 answer
  • Which expression is an equivalent expression of 12x + 10 + 4y? 2(6x + 2y + 6) 3(4x + y + 10) 2(6x + 4y + 8) 2(6x + 5 + 2y)
    11·1 answer
  • What type of display would you use to show the number of wins the school volleyball team had from 2000 to 2005
    6·1 answer
  • 5. Line 2x -3y = 6 is transformed by a dilation a scale factor of 2 and centered at the (3, 0). What is the equation of the line
    5·1 answer
  • What product is greater than 3/5
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!