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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!