for loops

for (int i=0; i<n; i++) {

System.out.print("*");

}

 

What was the question?