El número más brillante, emocionante y fantástico

Dado un número, crea Program.describeNum(int), que devuelve una oración que describe el número de la siguiente manera.

  • Comienza siempre con "The most ".
  • Si el número es divisible exactamente por 1, agrega "brilliant ".
  • Si es divisible por 2, agrega "exciting ".
  • Si es divisible por 3, agrega "fantastic ".
  • Si es divisible por 4, agrega "virtuous ".
  • Si es divisible por 5, agrega "heart-warming ".
  • Si es divisible por 6, agrega "tear-jerking ".
  • Si es divisible por 7, agrega "beautiful ".
  • Si es divisible por 8, agrega "exhilarating ".
  • Si es divisible por 9, agrega "emotional ".
  • Si es divisible por 10, agrega "inspiring ".
  • Termina siempre con "number is n!", reemplazando n por el valor de entrada.

Ejemplos

Program.describeNum(13) ➞ "The most brilliant number is 13!"
// Entre los divisores indicados, 13 solo es divisible por 1.

Program.describeNum(4) ➞ "The most brilliant exciting virtuous number is 4!"
// 4 es divisible por 1, 2 y 4.

Program.describeNum(21) ➞ "The most brilliant fantastic beautiful number is 21!"
// 21 es divisible por 1, 3 y 7.

Program.describeNum(60) ➞ "The most brilliant exciting fantastic virtuous heart-warming tear-jerking inspiring number is 60!"
// 60 es divisible por 1, 2, 3, 4, 5, 6 y 10.

Notas

  • Agrega los adjetivos en el orden mostrado arriba.
  • Conserva un espacio entre cada palabra.
  • Extra: Encuentra el menor número cuya oración use todos los adjetivos posibles.