Respuesta :

Firstly we declared the variable k which is integer(means give variable a value) and then use do-while iteration(loop) to print asterisks in a single line.

now the statements will be:

k = 0;

do {

     system.out.print ("*");

     k = k + 1;

     }

while ( k < 97 );