Computer Science, asked by samarpitalds, 10 months ago

Please solve this java program ​

Attachments:

Answers

Answered by pallavi1772004
0

Answer:public class RightAngledTrianglePattern

{

public static void main(String args[])

{

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

{

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

{

System.out.println("*");

}

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

{

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

{

System.out.println("*");

}

System.out.println();

}

}

}

Explanation:

Similar questions