
how to make program use loop to make the output become like this;
* **

import java.lang.*;
class Star { public static void main(String args[]) {
int k,i,j,p=4; for(i=1;i<5;i++) { for(k=0;k
}
System.out.print("\n");
p--;
}
} }
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.