In the Person class implement

  

In the Person class implement a method that calculates an indicator m based on the following formula using recursion:
 

m(age) = 1 + 1/2 + 1/3 + 1/4 + 1/5 … + 1/age

Tags: No tags