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
Which is smaller: 5 nanometers or 50 micrometers
lina2011 [118]
5 nanometers is smaller
8 0
3 years ago
Read 2 more answers
A sample was taken of the salaries of four employees from a large company. the following are their salaries, in thousands of dol
Free_Kalibri [48]

For given sample of salaries of four employees, the variance of their salaries is: 26 thousands of dollars

The formula for the variance is,

S^2=\frac{\sum (x_i - \bar{x})^2}{n-1}

where,

S^2 = sample variance

x_i = the value of the one observation

\bar{x} = the mean value of all observations

n = the number of observations

For given question,

n = 4

First we find the mean of their salaries.

(33 + 31 + 24 + 36 ) / 4 = 31

So, \bar{x}=31

Using the formula for variance ,

S^2=\frac{(33-31)^2}{4-1}+\frac{(31-31)^2}{4-1}+\frac{(24-31)^2}{4-1}+\frac{(36-31)^2}{4-1}\\\\ S^2=\frac{4}{3}  + \frac{0}{3} + \frac{49}{3} + \frac{25}{3} \\\\S^2= \frac{4+49+25}{3}\\\\S^2=\frac{78}{3}  \\\\S^2=26

Therefore, for given sample of salaries of four employees, the variance of their salaries is: 26 thousands of dollars

Learn more about the variance here:

brainly.com/question/13673183

#SPJ4

7 0
2 years ago
A number less than 85 the number has 26 and 6 as factors
Len [333]
A number that is less than 85, the number has 26 and 6 as factors is,  78
7 0
3 years ago
The astronomical unit (AU) is the mean distance from the sun to the earth.
Mrac [35]
By definition, we have to
 1 AU = 1.5 * 10 ^ 8Km
 a comet is 2.3 AU from the earth, which means that we must transform this unit to kilometers.
 2.3 AU = (2.3) * (1.5 * 10 ^ 8) = 3.45 * 10 ^ 8km
 answer
<span> 3.45 × 10,superscript,8,baseline, km
</span>
7 0
3 years ago
Read 2 more answers
Find the circumference of the circle. Use 22/7 for pi.
11111nata11111 [884]

Answer:

44

Step-by-step explanation:

circumference = 2πr = 2*(22/7)*(14/2) = 44

8 0
3 years ago
Read 2 more answers
Other questions:
  • According to an article in Newsweek, the natural ratio of girls to boys is 100:105. In China, the birth ratio is 100: 114 (46.7%
    10·1 answer
  • How do I solve this problem
    11·2 answers
  • Which table could be a partial set of values for a linear function?
    11·2 answers
  • Need help quick due later
    8·1 answer
  • How do I simplify the radical expression. √8-4√2
    5·1 answer
  • Help me plz im ketching up on math but is hard for me
    15·2 answers
  • Can somebody answer this question
    8·2 answers
  • 2(2x + 3)^2– 7(2x + 3) - 4
    15·1 answer
  • The tables below show four sets of data:
    5·2 answers
  • PLS HELPP!!
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!