subject

4.2.3: basic while loop expression. 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 note: these activities may test code with different test values. this activity will perform four tests, with usernum = 40, then with usernum = 2, then with usernum = 0, then with usernum = -1. see "how to use zybooks". also note: if the submitted code has an infinite loop, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:30
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Which task uses a simple parameter?
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
You know the right answer?
4.2.3: basic while loop expression. write a while loop that prints usernum divided by 2 (integer di...
Questions
question
Arts, 05.01.2021 20:30
question
History, 05.01.2021 20:30
question
History, 05.01.2021 20:30
question
Advanced Placement (AP), 05.01.2021 20:30
question
Mathematics, 05.01.2021 20:30
question
Mathematics, 05.01.2021 20:30
Questions on the website: 13722367