## Write a program to compute the sum recursively in C++

Program Sum Recursively in C++ Object: We can define the sum from 1 to x (i.e. 1 + 2 + … + x) recursively as follows for integer x ≥ 1: 1, if x = 1 x + sum from 1 to x-1 if x > 1 Write a program to compute the sum 1 …

Write a program to compute the sum recursively in C++ Read More »