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:
Step-by-step explanation:
if i had to guess i would say a
Answer:
$22.50
Step-by-step explanation:
Find 25% of 30 and then take away that amount from 30.
Alice has read 150 pages, you would multiple 200 by .75 (75%). If Nina had read 50% of her book and she read 150, you multiple by 2, and get 300. So Nina has 300 pages in her book.