You are viewing a single comment's thread. Return to all comments →
This program not gonna work as expected when there is element with value 0.
when you have 7 1 2 4 0 6 0 7
7
1 2 4 0 6 0 7
it will only output 7
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →
This program not gonna work as expected when there is element with value 0.
when you have
7
1 2 4 0 6 0 7
it will only output
7