/**
 * Montos en soles: de céntimos a texto y de texto a céntimos.
 * Esqueleto de P1: completen los dos métodos.
 */
public final class Soles {
    private Soles() {
    }

    /** 450 -> "S/ 4.50". Un monto negativo: IllegalArgumentException. */
    public static String format(long cents) {
        throw new UnsupportedOperationException("por hacer");
    }

    /** "4.50", "4.5" o "4" -> céntimos. Cualquier otro texto: IllegalArgumentException. */
    public static long parse(String text) {
        throw new UnsupportedOperationException("por hacer");
    }
}
