20678
Given an int variable k that has already been declared , use a while loop to print a single line consisting of 88 asterisks. Use no variables other than k.
k = 0;
while (k < 88){
System.out.print("*");
k = k + 1;
}
k = 0;
while (k < 88){
System.out.print("*");
k = k + 1;
}
Comments
Post a Comment