Mini-exercise

Add a type method to the Math structure that calculates the _n_th triangle number. It will be very similar to the factorial formula, except instead of multiplying the numbers, you add them.

results matching ""

    No results matching ""