Ferix

RSONested#6

Dec 2nd, 2020
358
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class MyClass {
  2.     public static void main(String args[]) {
  3.         for(int x =5; x!=0; x--){
  4.             int y = 1;
  5.             while(y != x){
  6.                 System.out.print("*");
  7.                 y++;
  8.             }
  9.             System.out.print("\n");
  10.         }
  11.     }
  12. }
RAW Paste Data