471,831 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,831 software developers and data experts.

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 3777
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
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.