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
Maria plants 8 tulip bulbs. She gives 3 of the bulbs to her neighbor. What fraction of her bulbs does she give?
Margarita [4]
3/8

A fraction is a mathematical symbol to represent part of a whole. There are 8 tulips, which is the whole. 3 is the part. So it is 3/8. Hope this helps! :)
3 0
3 years ago
Read 2 more answers
ANSWER IT CORRECTLY FOR BRAINLIEST Amelia built a scale model of a float, using the scale 48:7. The measurements of the actual f
Rashid [163]

Answer:

The third one :)                          

Step-by-step explanation:

6 0
2 years ago
Use the diagram to answer the question.
sdas [7]

Answer:

0'777

+765

Step-by-step explanation:

3 0
3 years ago
If y varies directly as x and y = 21 when x = 5, find x when y = 42.
Lorico [155]

Answer: 10

<u>Step-by-step explanation:</u>

varies directly means: \frac{y}{x} = k

Step 1: solve for k   ⇒  \frac{21}{5} = k

Step 2: plug in the given value and k to solve for the missing value: \frac{42}{x} = \frac{21}{5}

42(5) = 21(x)

\frac{42(5)}{21} = \frac{21(x)}{21}

2(5) = x

10  = x


5 0
3 years ago
You have a basketball trophy in your room. The ball on the trophy has a diameter of 9 inches. What the volume of the ball?
saveliy_v [14]

Answer:

381.51 in^3

Step-by-step explanation:

Volume of a sphere = 4/3 x pi x r^3

r = 9/2 = 4.5

4/3 x 3.14 x 4.5^3 = 381.51 in^3

7 0
3 years ago
Other questions:
  • 2. Move points D and B and observe
    12·2 answers
  • Two thirds a number plus 4 is 7
    13·1 answer
  • I need help with this, Take all my points if u can help me thank you sm dude
    13·2 answers
  • A fast food restaurant promotes certain food items by giving a game piece with each item. Advertisements proclaim that "25% of t
    6·1 answer
  • What is the first step needed to solve 3 over 4 multiplied by x minus 3 equals negative 18 ? (1 point)
    6·1 answer
  • What best describes the Numbers 5 Both prime, and composite
    7·1 answer
  • Suppose you have 8 dice in a bag. You draw a single die and roll it. Three dice are standard fair dice, numbered 1-6 Two dice ar
    6·1 answer
  • Using the EXCLUSIVE definition of a trapezoid, select the TRUE statement about trapezoids.
    8·1 answer
  • The Ridgeport school district collected data about class
    14·1 answer
  • Steven has $150. John has J dollars. Steven has 30 less than 2 times the amount John has. How much does John have?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!