Triangular number

Medium
0.0% Acceptance

Given a number N, find the Nth triangular number, i.e. 1 + 2 + 3 + ... + N