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]
3 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]3 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
Match each quadratic equation with the best way to solve it.
Blizzard [7]

Answer:

5x^2 + 12x -3 =0 ---------> solve by quadratic formula

x^2 -4x = 8          ----------> solve by completing the square

4x^2 -25 = 0        ----------> solve by square root method

x^2-5x+ 6 = 0       -----------> solve by factoring

Step-by-step explanation:

1. 5x^2 + 12x -3 =0

The best way to solve this equation is quadratic formula as all the terms in the equation have coefficients it will be convenient to solve it through quadratic formula.

2. x^2 -4x = 8

The best way to solve this equation is by completing the square as the factors cannot be made directly.

3. 4x^2 -25 = 0

the best way to solve this equation is to solve by square root method as the 25 and 4 are perfect squares.

4. x^2-5x+ 6 = 0

The best way to solve this equation is to solve by factoring as it can clearly be seen that it is convenient to make factors ..

7 0
3 years ago
Set a timer for 20 seconds. Next, get ready to walk! Start the timer and count the number of steps you take in 20 seconds. Now f
Karo-lina-s [1.5K]

Answer:

1. 2.5 steps per second

2. 1.25 steps

Step-by-step explanation:

6 0
3 years ago
Need help asapp!!!!!!!!!!!!
MissTica

Answer:

Sorry I don't talk uwu voice I don't no wat to speak uwuuu I just yry one

4 0
3 years ago
Which of the following statements are true about the graph below? Select all that apply
madreJ [45]
I don’t know because it wouldn’t pop up
8 0
2 years ago
Find the lowest common denominator for the following rational expressions
SCORPION-xisa [38]

Answer:

Hi i think that the correct answer is B

3 0
3 years ago
Other questions:
  • $100 is deposited in the bank at 5% interest compounded continuously. What will be the average value of the money in the account
    8·1 answer
  • An airplane covers 94 miles in 1/6 of n hour. The plane can cover how many miles in 6 hours
    14·2 answers
  • Name the sets of numbers to which<br> 3/5<br> belongs
    11·1 answer
  • I NEED HELP ASAP<br> PLEASE HELP ME
    5·1 answer
  • What are 5 ways that graph can be misleading ?
    9·2 answers
  • Which statement defines an annuity? A. a retirement plan offered by employers B. a group of investments that many individual inv
    14·2 answers
  • Using the number line shown, subtract 1 2/6 from 4 4/6.
    6·1 answer
  • Which angles are corresponding angles?
    8·1 answer
  • The equation 125 + 37.52x = y models the amount of money in your wallet Y is the total amount of dollars and x is the number of
    10·1 answer
  • https://www.khanacademy.org/math/cc-sixth-grade-math/cc-6th-geometry-topic/cc-6th-volume-with-fractions/e/volume_with_fractions?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!