PS_Ch5_Q1

 package com.company.Ch5_25_PracticeSet;


public class PS_Ch5_Q1 {
public static void main(String[] args) {
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 4 - i; j++) {
System.out.print("*");
}
System.out.println();
}
}
}

Comments

Popular posts from this blog