(int n, String s)
| 486 | } |
| 487 | |
| 488 | public static String sequence(int n, String s) { |
| 489 | StringBuilder buf = new StringBuilder(); |
| 490 | for (int sp=1; sp<=n; sp++) buf.append(s); |
| 491 | return buf.toString(); |
| 492 | } |
| 493 | |
| 494 | public static int count(String s, char x) { |
| 495 | int n = 0; |
no test coverage detected