need help with project

Hi.



i'm stuck at this point, so some fast help would be nice :)
Last edited on
Not enough information.
You don't tell us what Construction looks like. Please post its declaration.

From what you have posted, this is a simple loop to find the entry in an array with the smallest value for the number of craftsmen.

Do you know how to iterate through an array and find the smallest value?


N
Last edited on
Yes, I mean the post the declaration for your Construction class.

If I gave you an array of 100 ints, could you write a loop to find the smallest int in the array?
B
Last edited on
You did not post the declaration for your class as requested, nor did you answer my question.

Your problem is really not much different than finding the smallest value in an array of ints. If you can't do that, then you need to learn how to do that before tackling a harder problem.

Last edited on
Topic archived. No new replies allowed.