I have wrote the function but am blanking on what to put in main. can u advise.
I have wrote the function but am blanking on what to put in main. can u advise.
Seems unlikely.
The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss
As mentioned in your other thread, you should past your code here in code tags.
Also, please be more specific with your question.
Figure out what these words mean "Function prototypes"; then figure what you need to do in that comment section!
Update the comments to match your program!
Decide whether to use global variables in program or local to main variables.
(Global variables are NOT needed; so use local.)
Call the function recursiveMinimum inside the main function.
Tim S.
Last edited by stahta01; 11-26-2013 at 01:45 PM.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
yea give more info on what you want to solve.
EDIT: oh I see what your trying to do I think. 5 mins
Last edited by BIGDENIRO; 11-26-2013 at 01:47 PM.
Well I think you were trying to find the minimum element of an Array and didn't know how to call the function in the main. so I edited your code to what I think is appropriate. You should compare each code cause I did alot of changes.
Last edited by oogabooga; 11-26-2013 at 02:04 PM.
The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss