You have a variable, n, with a non-negative value, and need to write a loop that will keep print n blank lines. What loop construct should you use?
.
.
Click on the title for the solution
.
.
while loop
do while loop
for loop
.
Click on the title for the solution
.
.
This is the answer:
:
while loop
do while loop
for loop
Comments
Post a Comment