You are viewing a single comment's thread. Return to all comments →
Hello, what do this lines of code do?And why are you using Long instead of int?
sum = max = min = in.nextLong();
or
nums[0] = max = min = sum = in.nextLong();
Seems like cookies are disabled on this browser, please enable them to open this website
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
Hello, what do this lines of code do?And why are you using Long instead of int?
sum = max = min = in.nextLong();
or
nums[0] = max = min = sum = in.nextLong();