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
Using the distributive property simplify the expression 6(2k -3)
Nat2105 [25]

Answer:

12k-18

Step-by-step explanation:

u multiply 6(2k)-6(3) and ur answer will be 12k-18

8 0
3 years ago
Read 2 more answers
Solve <br> 2z = modulus of z + 2i
Marta_Voda [28]

I assume the equation is

2z=|z|+2i

then let z=x+iy.

2x+2iy=\sqrt{x^2+y^2}+2i

2x+2i(y-1)=\sqrt{x^2+y^2}

The right side is real-valued and positive, and only on the left side do we have an imaginary term, which tells us

2(y-1)=0\implies y=1

Then

2x=\sqrt{x^2+1}

4x^2=x^2+1

3x^2=1

x=\pm\dfrac1{\sqrt3}

but again we omit the negative solution, so that

\boxed{z=\dfrac1{\sqrt3}+i}

4 0
3 years ago
It takes 6 men 5 days to build a fence. How many days would it take 3 men? 9 men?
Papessa [141]

Answer:

6 people build fences in 3 days

1 person would take 6*3=18 days

Thus 10 people would take 18/10 days

i.e 1.8 days

1 day 3 hours

Note- not taking the number of fences in the calculation as it is same in both the case

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
The lengths of a certain species of fish are approximately normally distributed with a given mean (look at the picture) and stan
tatyana61 [14]
The empirical rule states that approximately 68/95/99.7% of a normal distribution lies within 1/2/3 standard deviations. So the answer is 68%.
6 0
3 years ago
Read 2 more answers
What is the approximate semiannual rate of growth for an investment that has an annual rate of 10%?
ratelena [41]
I’m pretty sure 5%. !!!
6 0
3 years ago
Other questions:
  • What type of graph does not have scale and aces defined on it?
    11·1 answer
  • A grocery store gives away a $10 gift card to every 25th customer and a $20 gift card to every 60th customer.
    10·1 answer
  • I NEED HELP PLEASE WITH THIS MATH PROBLEM THANK YOU SO MUCH FOR HELP
    12·1 answer
  • What is the equation, in slope-intercept form, of the line that passes through (0, 6) and has a slope of 4??
    10·2 answers
  • What is the value of x in the proportion ?
    9·1 answer
  • Plz help.............
    8·2 answers
  • Assume that blood pressure readings are normally distributed with a mean of 117 and a standard deviation of 9.6. If 144 people a
    11·1 answer
  • Lu is graphing the ordered pair (3, 5). Starting at the origin, what does she need to do?
    9·2 answers
  • The point (0, 0) is a solution to which of these inequalities?
    10·1 answer
  • an artist makes custom painted tiles using geometry concepts which tile explains shows fold reflectional and rotational symmetry
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!