public class PatternTwo { public static void main(String[] args) { for (int j = 5; j > 0; j--) { System.out.println(""); for (int i = 5; i >= j; i--) { System.out.print(" "); } for (int q = 0; q < j; q++) { System.out.print("*"); } } System.out.println(""); } }
This is the sample output of the code above.
thank you!
ReplyDeleteCopy-Paste done! Thank you!
ReplyDeleteby: fermin data jr.
pakyu ka mali yan tinuro mo
ReplyDeletefan of yours LOL