jamiahmcq
jamiahmcq jamiahmcq
  • 22-12-2022
  • Computers and Technology
contestada

In Java, write a while loop that prints userNum divided by 2 (integer division) until reaching 1. Follow each number by a space. Example output for userNum = 40:
20 10 5 2 1

In Java write a while loop that prints userNum divided by 2 integer division until reaching 1 Follow each number by a space Example output for userNum 40 20 10 class=

Respuesta :

Otras preguntas

as a result of mitosis, each of your body cells? a. changes genetically as you grow and develops. b. contains only the genetic information needed for that type
How do simple machines make work easier? A. They add energy to the work. B. They increase the force needed to work. C. They reduce the speed of work. D. Th
A carnival sold 135 bottles of juice in one day. They sold 1/3 of the bottles in the first hour and 2/5 of the bottles in the second hour. How many bottles of j
the diameter of a face off circle on an ice hock rink is 30 feet what is the area
What are the three basic functions organs perform in the human body
You earn $35 for washing 7 cars how much do you earn for washing 4 cars
There were twelve times more children then adults at the mantinee performance of the school play. There were 455 people at the play. How many adults and childre
What is a analogy for "Astronomer" ?
need help with problem can you help 5x+3y=22 y=2x
which of the following is a physical change? -Burning -Rusting -Freezing -Oxidation