Biology, asked by Ghost023, 10 months ago


WAP in Java.......!!!!! ​

Attachments:

Answers

Answered by Oreki
8

public class Triangle {

public static void main(String[ ] args) {

String pattern = "54321";

for (int i = 0; i < pattern.length( ); i++)

System.out.println(pattern.substring(i) + " ");

}

}

Similar questions