Ad
  • Custom User Avatar

    Total is the sum of all the number between 1 and n!
    Yes, it is important to compute Total even if you use another approach to solve the problem as the sum of all the number between a,b (with b > a) will be total(n=b) - total(n=a). It is mainly the solution of a summation of a integer serie.