Given an int variable k that has already been declared, use a do...while loop to print a single line consisting of 97 asterisks. Use no variables other than k.

.
.
Click on the title for the solution
.
.

This is the answer:

:



do { cout<<"*";
k++;
   }
while (k<97);

Comments