Computer Science, asked by Anushka9991, 3 months ago

Write a program to print following pattern
X
X X
X X X
X X X X
X X X X X

Answers

Answered by arin1359
2

Answer:

trigular pattern

Pl fo.llow me

Answered by 1mdreamaim
1

Answer:

class Pattern17

[

void main (string args[])

[

for (int i=1 ; i<=5 ; i++)

[

for (int j=1 ; j<=i ; j++

[

system.out.print ("*");

]

system.out.println ();

]

]

]

Similar questions