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
alex41 [277]
3 years ago
5

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:
kirill [66]3 years ago
5 0

Pseudocode is below

Step-by-step explanation:

random_number = genRandomInt[1, 100]

get_input = input(“Select a number between 1 and 100: ")  

while get_input<100

if get_input >random_number:

print(“the number you selected is high”)

else if get_input < random_number

print(“the number you selected is low”)

else:

print(“correct number!”)

end

You might be interested in
If set A has 4 elements and B has 3 elements then set n(AXB) is a) 12 b) 14 c) 24 d) 7
Karo-lina-s [1.5K]

Answer:

The correct option is a.

Step-by-step explanation:

Given information:

Number of elements in set A = 4

Number of elements in set B = 3

We need to find n(A × B). It means we have to find the number of elements in set A × B.

If P and Q are two sets with elements m and n respectively, then the number of element in the set P × Q is m × n.

n(A\times B)=n(A)\times n(B)

n(A\times B)=4\times 3

n(A\times B)=12

The value of n(A × B) is 12. Therefore the correct option is a.

8 0
4 years ago
4minutes 45seconds=_____seconds
Elodia [21]

1 minute = 60 second

60 * 4 = 240

240 + 45

285 seconds

5 0
3 years ago
Read 2 more answers
Aaron claims the same answer could also be found by adding either –5 + 3 or –3 + 5.
kramer
1. The commutative property is not true for addition.
4 0
3 years ago
Read 2 more answers
To paint a house, a painting company charges a flat rate of $500 for supplies, plus $50 for each hour of labor.
maria [59]
The slope is 50 because they charge $50 for each hour of labor. The slope represents how long they have worked for and what it costs. Also the y intercept is 500, so the equation is y=50x+500
4 0
3 years ago
The graph of the revenue function f(x) = –2x2 + 100x is shown to the left. In the function, revenue is dependent on the number o
Over [174]

Answer:

C

Step-by-step explanation:

reasonable is 0 through 50.

mathematically the x values go to infinity both ways.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Seo-Yun hosted a party. She had 50 party favors to give away, and she gave 3 party favors to each of her guests
    15·1 answer
  • Simplify 2( x - 3) + 7( x + 2). A. 9 x - 8 B. 9 x + 3 C. 9 x + 8
    6·2 answers
  • 5x - 2y = 6
    6·1 answer
  • 5/6 ÷ 15/3 x 2/3 (multiplying and dividing fractions)
    7·1 answer
  • FIND THE MISSING LENGTH INDICATED
    11·1 answer
  • Use elimination method to solve the silmutaneous equations<br> 2x +3y=1<br> 3x=2y+8<br> (4marks)
    12·1 answer
  • Katie has 50 chickens she eats 90% how many chickens are left?
    11·2 answers
  • 1. Solve the equation. (1 point)<br> 5x-1= 14
    11·1 answer
  • Given that f(x) = 2x − 5, find the value of x that makes f(x) = 15. (5 points)
    13·1 answer
  • Let f(x)
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!