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
slamgirl [31]
4 years ago
12

Draw a structured flowchart or write pseudocode that describes the process of guessing a number between 1 and 100. After each gu

ess, the player is told that the guess is too high or too low. The process continues until the player guesses the correct number. Pick a number and have a fellow student try to guess it by following your instructions.
Mathematics
1 answer:
konstantin123 [22]4 years ago
4 0

In pseudocode

num2guess = random(1,100)

pnum = 0

while (pnum != num2guess) {

 pnum = ask_player("What number I'm thinking?")

 if  (pnum > num2guess) {

   print("Too high.")

 } else if (pnum < num2guess) {

   print("Too low.")

 }

}

print("Good job!")

You might be interested in
The total weight of three tables is 16.9 pounds. The first table is twice as heavy as the second table and the weight of the thi
Degger [83]
Refer to image for answer

3 0
4 years ago
WHAT WOULD THIS BEEE ANYONE !
deff fn [24]

Answer:

it's c

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
6th grade math ! C: help please
densk [106]

Answer:

9

Step-by-step explanation:

45 Cookies... 5hrs

? cookies... 1 hr

45 ÷ 5 = 9

9 cookies per hour

7 0
3 years ago
1) The deer population in a national park is expected to decline over time. The park
Lorico [155]

Answer:

Here's what I find.

Step-by-step explanation:

You have 800 deer at the end of Year 1, and you expect the population to decrease each year thereafter.

a) i) The recursive formula

Let dₙ = the deer population n years after the initial measurement.

d_{n} = d_{n - 1}r^{n}

For this situation,

d_{n} = d_{n - 1}(0.5)^{n}

a) ii) Definitions

n = the number of years from first measurement

r = the common ratio, that is, the deer population at the end of one year divided by the population of the previous year.

a) iii) First term of sequence

The first term of the sequence is d₀, the population when first measured.

b) The function formula

The formula for the nth term of a geometric series is

d_{n} =d_{0}r^{n - 1}

c) Value of d₀

Let n = 2; then d₂ = 800

\begin{array}{rcl}800 & = & d_{0}(0.5)^{2 - 1}\\800 & = & d_{0}(0.5)\\\\d_{0} & = & \dfrac{800}{0.5}\\\\& =&\mathbf{1600}\\\end{array}

4 0
3 years ago
2. The distance between two towns is 7 km. On a map, the distance between the towns is 28 cm. Find, as a ratio, the scale of the
liberstina [14]

scale of the drawing = original dimensions / dimensions of the scale drawing

7/28

Ans 1:4

Answered by GauthMath please heart it and comment thanks if you like

4 0
3 years ago
Other questions:
  • If the parent function is y=1/x, describe the change in the equation y=-1/x
    8·1 answer
  • Which of the following has a value CLOSEST to 0.5?
    6·1 answer
  • Y=x+5 find four solutions of each function
    11·1 answer
  • 4 QUESTIONS FOR 50 POINTS!!!!!! PLEASE HELP!!
    7·1 answer
  • PLEASE HELP
    6·2 answers
  • The sum of the first k terms in the sequence is 118096, find the value of k. The first term is 78732 the common ratio is 1/3.
    7·1 answer
  • TRUE OR FALSE <br>becomes zero for x=1<br>PLEASE HELP​
    11·1 answer
  • One angle of a right angled triangle is 63degree .find the other angle in grades​
    11·2 answers
  • Plz help. <br> It’s algebra
    15·1 answer
  • Solve for r. r = 7 ( 6 ) − 20 r =
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!