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>
Answer:
a
Step-by-step explanation:
Answer 1:
A. Distance from 15.3 to zero on a number line
Answer 2:
B. Positive
Explanation:
Absolute value is simply the distance a number is from 0 on the number line. The absolute value of 15.3 is 15.3.
Answer:
So, the probability is P=0.094.
Step-by-step explanation:
We know that in a recent survey, 73% of the community favored building a police substation in their neighborhood.
We get that p=0.73 and q=1-0.73=0.27.
We calculate the probability that exactly 8 of them favor the building of the police substation, if 14 citizens are chosen.
We get that n=14 and k=8.
We calculate the probability:
So, the probability is P=0.094.