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;

}

Comments

Popular posts from this blog

20689

20681

21000