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

Take car traveling with constant speed travels at 150 km in 7200 a. what is the speed of the car?
Characterization is the use of humor to address playful topics true or false
kevin is making a banner with an area of 7 square feet. the width and length of the banner are whole numbers. what are its possible dimensions
When writing a number in scientific notation, how many digits should be to the left of the decimal point? a. None b. One c. Two d. It depends on how precise
which of these is a way to show the number 26?
Z = y/x if z = 4.0 and y = 6.8 what is the value of x?
V/W=9+Z, solve for W
What is the absolute value of 2.36
In Buddhism, the __________ provides a set of concepts to improve life and reach enlightenment. a. Torah b. Bible c. Qur’an d. Eightfold Path
the value of 4 in 64513 is how many times the value of 4 in