Let's Learn Java Programming..... Through Lots of Coding Examples For Each Topic. Now Go For It ..!
How to Print this pattern ***** **** *** ** * class P2{ public static void main (String[] args) { for(int i = 5; i>=1 ; i--){ for(int j = i; j>=1 ; j-- ) { System.out.print("*"); } System.out.println(); } } }