greetings!
anyone could help me here! :)
the problem is adding all the data in an array given the said parameter! :) keep me posted then!
Printable View
greetings!
anyone could help me here! :)
the problem is adding all the data in an array given the said parameter! :) keep me posted then!
Recursion is just a needless complication (ie student exercise).
Try showing us that you can do it using a normal loop first.
Here's a link to the FAQs entry regarding an introduction to recursion. If you MUST use recursion to complete your task, then this presentation should help you get started. Once you have attempted a solution please come back with a specific question including pertinent code, error message relating to a specific line, etc.
http://faq.cprogramming.com/cgi-bin/...&id=1073086407