You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- class Util {
- static String factors(long num, long[] factors) {
- String s = num+" = ";
- for (int i = 0; i < factors.length; ++i) {
- if (i != 0)
- s += " * ";
-
- s += factors[i];
- }
- return s;
- }
- }
|