daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class ComplexFigures{
  2.     public static void main(String[] args){
  3.         for(int i = 5; i > 0; i--){
  4.             for(int j = 0; j < 5 - i; j++){
  5.                 System.out.print(" ");
  6.             }
  7.             for(int a = 0; a <= i; a++){
  8.                 System.out.print("**");
  9.             }
  10.             System.out.println();
  11. }
  12. }
  13. }
  14.    
  15. ****
  16.    
  17. **
RAW Paste Data
Top