+ 1

How to print pattern like this in java

***** **** *** ** *

24th Sep 2017, 5:32 AM
Shailesh Suvarna
3 Answers
24th Sep 2017, 6:25 AM
Shailesh Suvarna
+ 3
https://code.sololearn.com/coQFY481yW5B/?ref=app
24th Sep 2017, 5:57 AM
Ekansh
+ 3
public class Program { public static void main(String[] args) { for(int i = 0; i < 5; ++i) { for(int j = 0; j < 5 - i; ++j) { System.out.print("*"); } System.out.println(); } } }
24th Sep 2017, 5:58 AM
ChaoticDawg
ChaoticDawg - avatar