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]
4 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]4 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
Write 336 mi in 11.2 h as a rate in simplest form
arsen [322]

Answer:

  30 mL/h

Step-by-step explanation:

You want the rate 336 ml in 11.2 h as a rate in simplest form.

<h3>Unit rate</h3>

The rate can be expressed in simplest form in a number of ways. We usually want rates involving time to be expressed with time units in the denominator:

  (336 mL) / (11.2 h) = 30 mL/h

__

<em>Additional comment</em>

Medicine is often prescribed on a "per day" basis. In 24 hours, this rate would be ...

  (30 mL/h)×(24 h/day) = 720 mL/day

The machine setup to dispense this medicine might use time units of minutes:

  (30 mL/h) / (60 min/h) = (1/2) mL/min

4 0
2 years ago
A line passes through (−2,7) and (3,2). Find the slope-intercept form of the equation of the line. Then fill in the value of the
Hoochie [10]
The form will be y = mx + b, where m is the slope, b is the y-intercept

m = (2-7) / (3+2) = -1

b = 3 +2 = 5

So y = -x + 5
8 0
4 years ago
What is the value of 8 in 0.589
Deffense [45]
The 8 is in the hundredths place.
3 0
4 years ago
Complete the sentence below. A function f is​ _____ on an open interval I​ if, for any choice of x1 and x2 in​ I, with x1less th
mojhsa [17]

Answer:

Increasing if f' >0 and decreasing if f'<0

Step-by-step explanation:

Difference quotient got by getting

\frac{f(x+h)-f(x)}{h} will be greater than 0 if function is increasing otherwise negative

Here h is a small positive value.

In other words, we find that whenever first derivative of a function f(x) is positive the function is increasing.

Here given that for x1, x2 where x1<x2, we have

if f(x1) <f(x2) then the function is decreasing.

Or if x1<x2 and if f(x1) >f(x2) for all x1, and x2 in I the open interval we say f(x) is decreasing in I.

5 0
3 years ago
A square is always an example of a: I. rectangle II. rhombus III. parallelogram I I, II, and III none of these II
Igoryamba
It's always a Parallelogram
4 0
3 years ago
Other questions:
  • What's 10 times 3 tens
    10·2 answers
  • ANSWER ASAP 30 POINTS!
    9·1 answer
  • Is 143 a composite number
    7·1 answer
  • Decide which estimate is closest to the actual answer. Explain your reasoning. (a) A store bought 35 lb of produce. If the store
    11·1 answer
  • How do I teach my 4th grader to divide with two digits. Example 672/32 <br><br> what are the steps?
    15·2 answers
  • Hunter and his children went into a movie theater and will buy bags of popcorn and drinks. Each bag of popcorn costs $5.50 and e
    10·1 answer
  • Find the value of the trigonometric ratio. Simplify the ratio of possible.(Hint:you may need to use pythagorean theorem first)
    10·1 answer
  • What is the value of the upper quartile?
    11·1 answer
  • Serena went to the grocery store to buy fruit for a salad she brought 2.31 pounds of orange is and paid 3.45 how much does 1 pou
    11·1 answer
  • 1/4 of a pizza is 150 calories how much is a whole pizza?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!