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
One-sixth the sum of eight and a number
Aleks04 [339]

Step-by-step explanation:

Let the number be x.

<u>1</u><u> </u> =8 + x

6

6×<u>1</u>=6×8+6×x

6

1=48+6x

1-48=6x

<u>-</u><u>4</u><u>7</u>=<u>6</u><u>x</u>

6. 6 x = -7 <u>5</u>

6

x is equal to minus seven whole number five divided by six.

7 0
3 years ago
Simplify 5(x - 6).<br> 5x - 6<br> 0 5x - 30
Lesechka [4]

Answer:

It depends on what property you use

Step-by-step explanation:

If you use the distributive property then you would get 5x-30

If you factor you would get 5(x-6)

4 0
3 years ago
Michele is starting a new pool-cleaning business. It costs her $85 to purchase supplies. Michele charges $40 each time she clean
Alex787 [66]

Answer:

Option A : y = 40x - 85 is the correct answer.

Step-by-step explanation:

Given that:

Cost of purchasing supplies = $85

Cost charged for cleaning a pool = $40

Let,

x be the number of pools cleaned.

y be the profit

Profit = Cost of pools cleaned - purchase price of supplies

y = 40x - 85

Hence,

Option A : y = 40x - 85 is the correct answer.

8 0
3 years ago
Whats the answers to these tables
AVprozaik [17]

Answer:

You would just plug in the x’s for the equations above and that will equal your x

Step-by-step explanation:

for example x=1

the equation is x+5

so y equals 1+5=6

y=6

8 0
3 years ago
Five hamburgers and one order of fries together cost $10.24, whereas one hamburger and five orders of fries together cost $5.84.
lubasha [3.4K]
Hamburgers = h
fries = f
5h + f = $10.24
h + 5f = $5.84
6h + 6f = $ 16.08
3h + 3f = $8.04

The correct answer is C.
8 0
3 years ago
Other questions:
  • Write a Function rule for the table.
    6·2 answers
  • 2. Alicia is writing the program for a video game. For one part of the game she uses the rule to move points on the screen.
    10·1 answer
  • What is the correct answer help please?
    11·2 answers
  • Solve the following using scientific notation and standard notation:
    14·2 answers
  • Evaluate 1/2 + 1/2 ÷ 18​
    6·2 answers
  • Choose the graph that best represents<br> -8x + 2y&gt; -4
    9·1 answer
  • What are the variable in each graph? Describe how the variables are related at various points on the graph.
    5·1 answer
  • Find the distance between the points (3,7) and (3,2)
    11·1 answer
  • Convertir estos números de kilometros a porcentajes:
    7·1 answer
  • Hi pls help me thanksss<br>pls provide me with workings thankss :)​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!