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
Help please! write an expression that shows how to convert kilograms to grams
Irina18 [472]

Kilo is the unit prefix for multiplication by one thousand. Therefore, a kilogram, or kg, is equal to one thousand grams. To convert grams to kilograms, you simply have to multiply the number of kilograms to grams.

So, for example, if you had 16.24kg of a compound, it would equal:

3 0
3 years ago
Read 2 more answers
Find the partial fraction decomposition of the rational expression with prime quadratic factors in the denominator
SpyIntel [72]
\dfrac{5x^4-7x^3-12x^2+6x+21}{(x-3)(x^2-2)^2}=\dfrac{a_1}{x-3}+\dfrac{a_2x+a_3}{x^2-2}+\dfrac{a_4x+a_5}{(x^2-2)^2}
\implies 5x^4-7x^3-12x^2+6x+21=a_1(x^2-2)^2+(a_2x+a_3)(x-3)(x^2-2)+(a_4x+a_5)(x-3)

When x=3, you're left with

147=49a_1\implies a_1=\dfrac{147}{49}=3

When x=\sqrt2 or x=-\sqrt2, you're left with

\begin{cases}17-8\sqrt2=(\sqrt2a_4+a_5)(\sqrt2-3)&\text{for }x=\sqrt2\\17+8\sqrt2=(-\sqrt2a_4+a_5)(-\sqrt2-3)\end{cases}\implies\begin{cases}-5+\sqrt2=\sqrt2a_4+a_5\\-5-\sqrt2=-\sqrt2a_4+a_5\end{cases}

Adding the two equations together gives -10=2a_5, or a_5=-5. Subtracting them gives 2\sqrt2=2\sqrt2a_4, a_4=1.

Now, you have

5x^4-7x^3-12x^2+6x+21=3(x^2-2)^2+(a_2x+a_3)(x-3)(x^2-2)+(x-5)(x-3)
5x^4-7x^3-12x^2+6x+21=3x^4-11x^2-8x+27+(a_2x+a_3)(x-3)(x^2-2)
2x^4-7x^3-x^2+14x-6=(a_2x+a_3)(x-3)(x^2-2)

By just examining the leading and lagging (first and last) terms that would be obtained by expanding the right side, and matching these with the terms on the left side, you would see that a_2x^4=2x^4 and a_3(-3)(-2)=6a_3=-6. These alone tell you that you must have a_2=2 and a_3=-1.

So the partial fraction decomposition is

\dfrac3{x-3}+\dfrac{2x-1}{x^2-2}+\dfrac{x-5}{(x^2-2)^2}
7 0
3 years ago
Consider the ratio 3:5. Can you create an equivalent ratio by adding the same number to each quantity in the ratio? Explain
iragen [17]
Yes because the unit rate would be 1:2 and that's the rate of change in which 3:5 has.
HOPE IT HELPS!!
4 0
3 years ago
Read 2 more answers
The square below has a perimeter of 12 m what is the length of one side of the square
Anna007 [38]
3m because in a square all sides are the same and there are 4 sides, so 12 ÷ 4 = 3
6 0
3 years ago
Find the value of x in the picture please
nika2105 [10]
The answer is B-40.

It is an acute angle so it can not be 155 but the angle does not look like it is close to being 90 degrees so the answer has to be 40!

Hope this helps(can I get brainliest)
8 0
3 years ago
Other questions:
  • 1. Xavier worked 10 hours on Monday and 15 hours on Wednesday. His total pay was $280.00. What is his rates per hour?
    13·1 answer
  • A concert manager counted 550 ticket receipts the day after a concert. The price for a student ticket was $12.50, and the price
    8·1 answer
  • Using the difference in perfect squares completely factor the binomial x^2-121
    15·1 answer
  • jessie has a peice of wood that is 8 feet long he needs to cut pieces that are 7/8 of a foot long how many pieces will he be abl
    13·1 answer
  • What decimal is equivalent to 26.4 %
    12·2 answers
  • What is the inverse of Y=-5x-7
    7·1 answer
  • Select the system of linear inequalities whose solution is graphed.
    15·1 answer
  • Is this equation true, false, or open<br><br> 4y+8=6y+3
    9·1 answer
  • How to do this? please help
    7·1 answer
  • The sum of a number and twice its reciprocal is 3. What are the numbers?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!