(input, minLength, fill)
| 3 | const readline = require('readline'); |
| 4 | |
| 5 | function pad(input, minLength, fill) { |
| 6 | const result = String(input); |
| 7 | const padding = fill.repeat(Math.max(0, minLength - result.length)); |
| 8 | return `${padding}${result}`; |
| 9 | } |
| 10 | |
| 11 | function fraction(numerator, denominator) { |
| 12 | const fdenominator = String(denominator); |
no test coverage detected