Class PE0002

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      Solving this problem by just adding the given pairs, check if the result is even and sum up the even sums.
      • Methods inherited from class java.lang.Object

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

      • PE0002

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

      • solve

        public java.lang.String solve()
        Solving this problem by just adding the given pairs, check if the result is even and sum up the even sums.
        Returns:
        the sum of all even part of the series