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
dezoksy [38]
2 years ago
8

"Nya plans these steps before coding in a program.

Mathematics
1 answer:
Scrat [10]2 years ago
4 0

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

You might be interested in
A number cube is tossed 8 times. What is the probability that the cube never lands on 3?.
tino4ka555 [31]

The probability that the cube never lands on 3 is (D) 23.3%.

<h3>What is probability?</h3>
  • A probability formula can be used to calculate the likelihood of an occurrence by simply dividing the favorable number of possibilities by the entire number of possible outcomes.

To find the probability that the cube never lands on 3:

Given -

  • Number cube toss = 8

Required

  • Probability of not landing on 3.

First, we need to get the probability of landing on 3 in a single toss.

For a number cube,

  • n(3) = 1 and n(total) = 6

So, the probability is P(3) = 1/6

First, we need to get the probability of not landing on 3 in a single toss.

Opposite probability = 1.

  • So, P(3) = P(3') = 1.

Make P(3') the subject of the formula.

  • P(3') = 1 - P(3)
  • P(3') = 1 - 1/6
  • P(3') = 5/6

In 8 toss, the required probability is (P(3'))⁸

This gives:

  • P = (5/6)⁸
  • P = 390625/1679616
  • P = 0.23256803936

Approximate to 1 decimal place, P = 23.3%.

Therefore, the probability that the cube never lands on 3 is (D) 23.3%.

Know more about probability here:

brainly.com/question/25870256

#SPJ4

The correct question is given below:
A number cube is tossed 8 times. What is the probability that the cube never lands on 3?

A. 6.0%

B. 10.4%

C. 16.7%

D. 23.3%

5 0
1 year ago
The scale of a map is 1 cm​ : 76 km. What is the actual distance between two towns that are 5 cm apart on the​ map?
rodikova [14]

The towns would be 380 km apart. You find this by multiplying the scale accordingly (in this case 5*76)

6 0
3 years ago
Read 2 more answers
Please help!! I'm really confused
Cloud [144]

Answer: im on this one too

Step-by-step explanation:

8 0
3 years ago
What are all the common factors of 24, 64, and 88
Alborosie
1,2,4,8...
Those are all the whole numbers, although you could add infinite decimal factors
7 0
3 years ago
Read 2 more answers
A cylinder has a radius of 7 inches and a height of 20 inches. What is the closet to the surface area of this
Tomtit [17]

Answer:  sorry im useless in geometry

Step-by-step explanation:

7 0
3 years ago
Other questions:
  • What is your opinion on online school--or however you guys went back to school?
    5·1 answer
  • 15 is 9 more than j translate one step equations and solve
    7·1 answer
  • Draw a number line -5 through 5 and mark 2x&lt;6
    9·1 answer
  • 2<br> — x = 6<br> 3<br><br> Any help? Please?
    11·2 answers
  • What is the domain of the function given below? (1, -2), (2, -3), (3, -4), (4, -5)
    11·1 answer
  • What is the volume of a right circular cone that has a height of 18.8 m and a base with a radius of 19.3 m
    10·2 answers
  • Y = -5 + 6 -----------
    9·2 answers
  • If ABC and EDC are similar, what is the value<br> of x?<br> A
    13·1 answer
  • Is 5/6 x 5/6 less, greater, or equal to 5/6
    6·2 answers
  • Find the inverse of the function.<br> y=x–6
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!