Posts
 
Reputation
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
1 Commented Post
0 Endorsements
Ranked #107.55K
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for infinityblade

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)

Member Avatar for triumphost
0
3K

The End.