(Java) the question is comments under
public static void main(String[] args) {
for(int i =1; i<=5; i++)
{
for(int j=1; j<=i; j++)
{
System.out.print(“* “);
}
System.out.println(“”); //
}
for(int i=1; i<=4;i++)
{
for(int j=4; j>=i; j–) //j>=i means each row has * of columns, so first row ****, secondrow ***, and so on
// But, j>=iThe thing confusing about this is, when it is 3rd row j is 2columns, 4th row, 1 column or 1 asterisk. so j isn’t greater thani, but why do we use j >= i? I do
PayPal Gateway not configured
PayPal Gateway not configured