trautlashley3861 trautlashley3861
  • 25-11-2022
  • Computers and Technology
contestada

2. write a program using while loop. you should ask a user to enter a number as an input and in each loop iteration, divide the number by 2, then print the numbers. while loop should repeat as long as the number each step is greater than or equal to 1. sample output with input: 30; 20.0;10.0; 5; 2.5;1.25;0.625

Respuesta :

Otras preguntas

poverty and not corruption is the problem of our society​
what are the functions of androcium?​
mathematics geniuses where are you ? help me answer this question please.
Write a story ending with “that was how I came to know the truth” Write in 3 paragraphs plz
please, solve for x!
5-81. Scientists hypothesized that dietary fiber would impact the blood cholesterol level of college students. They collected data and found r = -0.45 with a sc
Seven less than four times a number is nine. FIND the number
3. True or False: A hotel run by ghosts attempting to attract ghosts and spirits could appropriately be called The Ethereal Inn. Explain.
5. * Your parents drove the family car 462 miles on 14 gallons of gas. On average, how many miles did the car travel on each gallon of gas (Write the expression
plzzz help me will mark brilliant​