Write a program that will ask the user for a number, and return the summation of that number

10.00 $ 5.00 $

Categories: ,

Description

Write a program that will ask the user for a number, and return the summation of that number. The value must be sent to a function, and the result must be returned from the function.

For example, if the user enters the number 5, your program would return 15 (which is 5+4+3+2+1) Use a recursive solution