Computer Science, asked by shashiranibanti069, 2 days ago

how to print it in java ??
In simple and easy way....​

Attachments:

Answers

Answered by saptarshimaitystd9
0

Answer:

public class zzz

{

public static void main ()

{

for (int a=1;a<6;a++)

{

for(int b=1;b<a;b++)

{

System.out.print("*");

}

System.out.println(" ");

}

}

}

Similar questions