Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: Your max funciton is incorrect, you have to test all three arguments, becouse you never know which one is the maximum. You test _c_ only if _b<a_ which is wrong. > else if (c > max) should be if(c > max) |
The End.