Repeat the previous exercise, but with the following changes: Use a do statement instead of a for statement. Control the loop by checking the size of the square instead of the number of squares. That is, the length of the side of the smallest square at the top of the pile should not be less than the value of the named constant SMALLEST_SIDE.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here