468,484 Members | 2,152 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

Funtion to help finding the Largest Value

2
Who can help solve this problem???

Finding the Largest Value

(a) write a function, largest(), that returns the largest value in a signed integer array. The array and its size are passed as arguments.

(b)Write a main program that inputs MAX values from the keyboard into a signed
integer array, array, and points, using largest(), the largest value to the screen.
Sep 30 '06 #1
3 3637
X~coder
14
this sounds more like a homework but here is your code
c ++

Code removed per posting guidelines
////////////////////////////////////////////////////////////////////////////////
at b) try to be more specific && give an example


and try to solve your homework allone
Sep 30 '06 #2
m013690
23
If you're so adamant about him doing his homework alone, you could have just declined the help. On the other hand, if you're looking to be a know-it-all, then don't be so critical of someone else...
Sep 30 '06 #3
sicarie
4,677 Expert Mod 4TB
Who can help solve this problem???

Finding the Largest Value

(a) write a function, largest(), that returns the largest value in a signed integer array. The array and its size are passed as arguments.

(b)Write a main program that inputs MAX values from the keyboard into a signed
integer array, array, and points, using largest(), the largest value to the screen.
So what have you done on this? Where are you stuck? I'd start with the prototype of largest() - what is it passed, what does it return and how do you show that?
Dec 23 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

13 posts views Thread by Peter Ammon | last post: by
38 posts views Thread by Red Dragon | last post: by
15 posts views Thread by join | last post: by
19 posts views Thread by gk245 | last post: by
19 posts views Thread by ramu | last post: by
8 posts views Thread by bryant058 | last post: by
6 posts views Thread by rkmr.em | last post: by
1 post views Thread by Undermine | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by gieforce | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.