Question: The test suite assigns a random number to the variable Number. Write a script that uses a while loop to repeatedly divide this number by
The test suite assigns a random number to the variable Number. Write a script that uses a while loop to repeatedly divide this number by 7 until the remaining is less than 1. Assign the result to the variable whatsLeft. Keep track of the number of value divisions required and assign to the integer variable DivisionCount. Solution Enter commands in the space below to implement the while loop that is specified in the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
