Given an int variable z that has already been declared, write a while loop to print a single line consisting of 88 asterisks in a row. Use no variables other than z. No credit will be given if you use a for loop. code example
Example: Given an int variable k that has already been declared, use a do...while loop to print a single line consisting of 53 asterisks. Use no variables other than k.
k = 0;
do{
System.out.print("*");
k++;
}while (k < 53);