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
Compare and contrast subtracting integers and subtracting whole numbers
Galina-37 [17]

Subtracting whole numbers does not include subtracting negative numbers, whereas when subtracting integers you can include negative numbers.

6 0
3 years ago
Which of the following points is the solution of the quadratic equation:3x^2-5x-2=0​
Maslowich

Answer:

x1 = 2

x2 = -1/3

Step-by-step explanation:

3x^2-5x-2=0

D=25-4*(-2)*3 = 25 + 24 = 49 --> sqrt 49 = 7

x1 = 5 + 7 / 2*3 =   2

x2 = 5 - 7 / 2*3 =  -1/3

7 0
3 years ago
Ava buys a book for $8.58. she pays with a $10 bill. how much change will she get?
mestny [16]
It's $1.42 have a nice day
8 0
3 years ago
Read 2 more answers
How many bicycles did john had
garik1379 [7]

it is 12

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
the perez family has a rectangle fish tank. How much water will the tank hold if its length is 3 feet, its width is 2 feet, and
myrzilka [38]

V = 3 x 2 x 3 = 18

answer

B) 18 cubic feet

7 0
3 years ago
Other questions:
  • Fill in the numbers for each hashmark: -10, 2, -5, 13 then plot it. help
    6·1 answer
  • In the parallelogram shown, AE = t + 2, CE = 3t − 14, and DE = 2t + 8.
    13·2 answers
  • Y = f(x) = -34<br>Find f(x) when x = 0.​
    5·2 answers
  • |-6|+|3| I really don't get it do I simply find the sum our is it
    15·2 answers
  • Which ratio forms a proportion with 16:20<br> A. 4:10 <br> B. 32:50<br> C. 8:12<br> D. 4:5
    10·2 answers
  • Instructions: Solve the following equation for the variable given.
    7·1 answer
  • Totsakan bought one can of pineapple chunks for $2. How many cans can Stefan buy if he has $16?
    7·1 answer
  • The price of a technology stock has dropped to $9.71 today. Yesterday's price was $9.80. Find the percentage decrease.
    8·1 answer
  • Pls help <br> What is the value of t? <br> A. 150<br> B. 60<br> C. cannot be determined<br> D. 30
    14·1 answer
  • Subtract.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!