crocodilulcroco5500 crocodilulcroco5500
  • 20-07-2022
  • Computers and Technology
contestada

Write a while loop that prints user_num divided by 2 until user_num is less than 1. The value of user_num changes inside of the loop.

Respuesta :

faarizyt
faarizyt faarizyt
  • 21-07-2022

Answer:

user_num >= 1

while true do

print "user_num/2"

Explanation:

First, you write that the user_num is equal to or is greater than 1. Then you write in the while loop that while that's true, print user_num divided by two.

Answer Link

Otras preguntas

4 times 5y divided by 18 translate this to an algebraic expression then simplify when you can
Social networks have existed in one form or another for more than _______ years.
Wilma is twice as old as Jamal, and Jamal is 3 years older than Tim. The sum of all their ages is 17.
Cardiac muscle has more mitochondria and depends less on a continual supply of oxygen than does skeletal muscle.
I'm not the best in English I need help :/
what must be true of two lines that have the same slopes and y-intercepts
5 glasses of soda and 4 salads = $9.50 4 glasses of soda and 5 salads = $10.30 How much would 1 glass and 1 salad cost?
What is the value of t 3(t+4)-2(2t+3)=-4
An aristocracy, middle class, and slaves are examples of what kind of structure? social political religious cultural
what is the red line and blue line Amplitude Crest Trough Wavelength