Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+15 votes
asked in CSC211_Winter2018 by (1 point)

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 (1 point)
...