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
Please solve 9 if it’s upside down please rotate it
topjm [15]

Answer:

≈ 1/2 teaspoon

4 2/5 * .11 = .484 teaspoon

Hope this helps :)

<em>ilovejiminssi♡</em>

7 0
2 years ago
Miguel drives 295 miles in 5 hours. How many miles does Miguel drive in 75 points
laila [671]

Answer:

Step-by-step explanation:

I have the same question and I'm looking for the answer

3 0
3 years ago
ILL GIVE BRAINLIST!! pls help also dont mind my answer, its random.​
NikAS [45]

Answer:

4

Step-by-step explanation:

6 0
3 years ago
[25 POINTS] hi um please send help within like, 20 mins bc I'm gonna cry hahahaha
Rus_ich [418]
I will cry with you
8 0
3 years ago
Read 2 more answers
−5.010010001... number is rational or irrational or integer or real number?
mojhsa [17]
This is an irrational number because it cannot be written as a fraction
5 0
3 years ago
Other questions:
  • Which statements are true? check all that apply
    10·2 answers
  • the cost for n students to attend a workshop is 7n + 12 dollars. what is the cost, in dollars, for 6 students to attend
    10·1 answer
  • #5 Please help ASAP w/ question
    13·2 answers
  • A sample of 49 observations is taken from a normal population with a standard deviation of 10. the sample mean is 55. determine
    14·1 answer
  • Ryobi Limited sold a set of saws to Ace Hardware. The list price was $3,800. Ryobi offered a chain discount of 8/3/1. What's the
    9·1 answer
  • The answer is 3/2x but I don’t know how to solve it... please explain
    11·1 answer
  • F(x) = (x + 3)(x + 5).
    7·2 answers
  • What are the length(s) of the sides labeled a and b in the triangle below?
    12·2 answers
  • how much water must be added to a 9-liter solution that contains 3% extract on baneberry to get a solution that contains 2% extr
    11·1 answer
  • Which number represents the sum of -8 and -i?<br> 0 87<br> O -87<br> O --8-7<br> 0 -8 +7
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!