Class PE0057

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      This method just runs a loop for the 1.000 steps and calculates the numerator and denominator for every iteration.
      • Methods inherited from class java.lang.Object

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

      • PE0057

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

      • solve

        public java.lang.String solve()
        This method just runs a loop for the 1.000 steps and calculates the numerator and denominator for every iteration. If the numerator has more digits than the denominator a counter is increased.
        Returns:
        the count of cases where numerator has more digits than the denominator