Class PE0040

    • Constructor Summary

      Constructors 
      Constructor Description
      PE0040()
      A simple constructor to set number and title.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String solve()
      It solves the problem by incrementing a LargeNumber and testing if the length runs over the next wanted digit.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PE0040

        public PE0040()
        A simple constructor to set number and title.
    • Method Detail

      • solve

        public java.lang.String solve()
        It solves the problem by incrementing a LargeNumber and testing if the length runs over the next wanted digit. If a number is found the needed digit is multiplied to the result.
        Returns:
        the product of the wanted digits
        See Also:
        LargeNumber