SHARE
TWEET

Untitled

a guest Nov 14th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public static String go(String let, int size)
  2.     {
  3.         String output = "";
  4.         for (int i = 0; i < 5; i++) {
  5.             for (int k = 0; k < 5 - i; k++) {
  6.                 System.out.print(let);
  7.             }
  8.             for (int j = 5; j < 0 + i; j--) {
  9.                 System.out.print(let);
  10.             }
  11.             System.out.println();
  12.         }
  13.  
  14.  
  15.  
  16.         return output;
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top