The program would display "n = 3" as output based on Nya's steps.
<h3>What is a
pseudocode?</h3>
A pseudocode simply refers to a description of the steps contained in an algorithm, especially through the use of a plain (natural) language.
<u>Note:</u> π is equal to 3.14.
Since Nya assigns π, which isn't an integer, the program would determine the integer (n) as follows:
x - 1 < n < x
π - 1 < n < π
Substituting the parameter (3.14) into the formula, we have;
3.14 - 1 < n < 3.14
2.14 < n < 3.14
n = 3.
Read more on pseudocode here: brainly.com/question/13208346
#SPJ1
Answer:
C =28.26m
Step-by-step explanation:
We are walking around a circle, which means we are finding the perimeter. The perimeter of a circle is called the circumference.
We find the circumference by
C = pi *d where d is the diameter
C = 3.14 * 9
C =28.26m
The point-slope formula is y-y1=m(x-x1). So you will substitute the numbers into the equation. The answer is y+5=-2/5(x+3).
Answer:
D E F
Step-by-step explanation:
Have a good day :)
Answer:
P43=4!(4–3)!=241=24
Step-by-step explanation:
There are four choices you can make for the lead reindeer. For each possible choice, there are then three remaining you can choose to fly second, making 4×3=12 choices for the lead pair. For each possible choice there are two remaining reindeer to take up the back position, making 12×2=24 choices for the team of three.
This type of problem is called a permutation problem, and we write Pnr for the number of ways of choosing r items from n possibilities when the order of the items matters. In this case we are choosing 3 reindeer from 4 possibilities, and the order they appear in the flying line does matter, so the answer we want is P43. The general formula is Pnr=n!(n−r)!. For the answer we are looking for we therefore have:
P43=4!(4–3)!=241=24