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

What did Leonardo the Vinci did that he is remembered till now?
1,4,9,18,35, next number ?
what does -6y=18 equal
According to both Hinduism and Buddhism _____. A. the extent to which a person has lived a virtuous life has no effect on his or her afterlife B. a person
Explain about the American school system, with ages of which child goes to school. e.g middle school for ages .........
Something that causes and event to occur is known as a(n) __________.
factor. 21x^2 -32x+12
Assume Cylinder A and Cone B are the same height and the bases have the same radius. If A has a volume of 18π cm3, what is the volume of B?
Because she was charming, pretty, and smart, John looked forward to meeting Carolyn again after three years. On the other hand, he also felt some trepidation. F
a 6.7kg object moves with a velocity of 8 m/s. whats its kinetic energy?(A)26.8J(B)214.4J(C)167.5J(D)53.6J