public void printTable() {
    for (int i = 0; i < invest; i++) {
      StringBuffer sb = new StringBuffer();
      sb.append(i+1);
      for (int j = 0; j < corp; j++) {
        sb.append(" ").append(table[j][i]);
      }
      System.out.println(sb);
    }
  }