pls give me a hint or any idea on how i can solve my problem..tnx..
Get someone to read these numbers to you, and you try to remember what the highest and lowest numbers you hear. 31 47 85 64 95 48 45 86 26 61 47 76 98 80 62 19 4 12 10 78 Read More
[QUOTE=Chilton;1606630]Use a vector.[/QUOTE] "Without using an array" generally means "without storing all of the numbers", which means vector is out too. But even if you could store all of the numbers, doing so would be stupid because it's trivial to write a linear algorithm without wasting memory like that. Read More
And what do you suppose they might learn from that spoon-fed answer on a plate? [B][U]Don't give away code![/U][/B] [url]http://www.daniweb.com/software-development/cpp/threads/78223[/url] All that's going to happen is they'll hand this in without having much of a clue, so that when next week's homework comes around (say sorting numbers), they're totally screwed … Read More