Program that will ask the user for a number, and return the summation of that number
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
You'll get 1 file (3.1KB)
More products from WeCode
CS 170 Algorithms Final Project
CMIS 320 Project 2
Want to get updates from WeCode?