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

Your insurance company can cancel your policy after 60 days for: A. Being involved in a collision B. Failing to make payments C. Getting a traffic ticket
The Dao De Jing criticizes _____. Select one: a. the weakening Shang dynasty b. the weakening Zhou dynasty c. the aggressive Qin dynasty d. the artistic Ming dy
Please help, I have no idea what you are spossed to do.
A carpenter wants to cut a board 16 1/2 feet in length into 1 7/8 feet pieces. How many pieces can be cut from the board? The carpenter cuts the leftover piece
Carbon dioxide is naturally present in the atmosphere as part of the Earth's carbon cycle. Human activities are altering the carbon cycle, by adding more CO2 to
if a line started at the point (-2,6) and has a slope of 3, what is the equation of the line?
How can having an active social life and a stable emotional well-being promote health?
Please help!!!! 5-11?
Plz help me to solveit
Find the missing length . Leave your answers in simplest radical form