Question: Please help in Java CHALLENGE ACTIVITY 2.21.8: Basic while loop expresision. Write a whe ioop that prints userNum divided by 2 (integer division unti reaching
Please help in Java

CHALLENGE ACTIVITY 2.21.8: Basic while loop expresision. Write a whe ioop that prints userNum divided by 2 (integer division unti reaching 1 follow each number by a spece Example output for userNum =40 2010521 Note These aot es es may test ooge wirh different test values. This activity will perform four tests with uservum =40 then with fublia clas: DivideByTwoloop public statief void main (string [] args) i Scarnan scond finew scanner(syster. in); int insertham; Userwam senr-nextint (): I String qutput a) usertiun fytsten. out.phintingm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
