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

which president describes himself at the end of his term as the president without a party
all state and federal officials are required to take an oath to support the constitution
(256222)for an object that travels 20 kilometers north and then 15 kilometers south, what is the ratio of the distance traveled to the displacement?
In a research study described in your text, trained graphologists evaluated handwriting samples of 170 people. what were the findings of that study?
What is the image of (5,-2) under transformation Tx-axis
Solve for W in the scientific formula C=Wtc/1000
HELP PLZ!!!! In the right △ABC with m∠C=90°, m∠B=75°, and AB=12 cm. Find the area of △ABC
PLEASE HELP!!! Church officials were members of which estate? And which estate were peasants in? (Estates are First, Second, and Third) (French Revolution)
What organelle adds carbohydrate groups to a proteins produced at the endoplasmic reticulum?
How did the romans utilize their engineering skills?