SHARE
TWEET

Untitled

a guest Jul 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.company;
  2.  
  3. public class Main {
  4.  
  5.     public static void main(String[] args) {
  6.         System.out.println(line());
  7.     }
  8.  
  9.     private static String line() {
  10.         StringBuilder str = new StringBuilder("");
  11.         for (int i = 0; i <= 30; i++) {
  12.             str.append("(");
  13.             str.append(i);
  14.             str.append(")");
  15.         }
  16.         return str.toString();
  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