Enter Age Difference Problem
Calculate triangular number