A triangle number is the sum of all whole numbers from 1 to


Write a program that calculates triangle numbers by using a recursive function. A triangle number is the sum of all whole numbers from 1 to N, in which N is the number specified. For example, triangle(5)= 5 + 4 + 3 + 2+ 1. (c++ problem)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: A triangle number is the sum of all whole numbers from 1 to
Reference No:- TGS01407597

Expected delivery within 24 Hours