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 8,000,000 + 100,000 + 7,000 + 400 + 20 + 4 in standard form?
DIA [1.3K]

Answer:

8,107,424

Step-by-step explanation:

The 8,000,000 would stay the same, but the second zero would be switched by a one. The third number would still just be a zero. The other zero would turn into a seven, and the last three numbers would be 4, 2 and 4. You can also find the number by adding.

4 0
3 years ago
Read 2 more answers
Upon hitting a bat, a baseball has a change in momentum of 16.5 kg-ms. What is the average
olya-2409 [2.1K]

Answer:

The average force applied to the baseball is 8.25kN

Step-by-step explanation:

This problem bothers on the impulse of a force

We know that the change in momentum is expressed as

Ft= mv-mu

Given

Ft=16.5 kg-ms

Time t of impact =0.00200s

The force applied can be solved for

By making F subject of formula

F= (mv-mu)/t

F=16.5/0.002

F= 8250N

F= 8.25kN

4 0
3 years ago
Identify some exterior angles in the figure. Select the two correct answers.
Naya [18.7K]
A and C are the correct answers
4 0
2 years ago
You invest $6500 into a mutual fund that is expected to earn 6% per year. How long will it take the fund to be worth $13,000?
tester [92]
This is a compound interest problem so you cannot use the simple interest formula. Effectively the total amount is being compounded each year by 6%. There is a formula for compound interest but in this simple example you can work this out recursively.

year 1 = 6500
year2 = 6500*1.06 = 6890
year3 = 6890*1.06 = 7303
year4 = 7303*1.06 = 7741..
etc......
year12 = 11604*1.06 = 12338 

8 0
4 years ago
Read 2 more answers
Which of the following shows a number in fraction form? A. 3 B. 3.7 C. 3 ∕7 D. √2
kumpel [21]
C because u have 3/7 which is a fraction
7 0
3 years ago
Read 2 more answers
Other questions:
  • How do you use a number line to round 148 to the nearest 10? Explain.
    14·2 answers
  • A food snack manufacturer samples 15 bags of pretzels off the assembly line and weighed their contents. If the sample mean is 10
    12·1 answer
  • Vinny is interviewing for a job. he wants his take-home pay to be at least $42,000$42,000. what is the least salary he can earn
    11·2 answers
  • How do you solve quadratics
    5·2 answers
  • Given that L is the centroid of /, find LG
    12·1 answer
  • Ensuring that there are NO Parenthesis or other groupings and NO Like Terms represents the process for _____________________.
    10·1 answer
  • The diameter of a circle has endpoints at (0,11) and (-6,-1). Write the equation of the circle in standard form.
    13·1 answer
  • The ages of Sohail, Afzal and Bilal are 17, 16 and 12 respectively. If the age of Aslam also included the average of the ages is
    10·1 answer
  • Can you please explain how you got the answer? Thank you.
    5·2 answers
  • 9.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!