Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+15 votes
asked in CSC211_Winter2018 by (8 points)

1 Answer

+9 votes

Its hard to pin point what exactly you did wrong. It might be because you created a initial value for the max (I.E int max = 0) inside the for loop, that might caused you to unable to print the final max value after the loop.

answered by (8 points)