Ask your own question, for FREE!
Mathematics 9 Online
OpenStudy (anonymous):

What do the following statements do, where m and n are integers? if ((m < 0 ? (m = -m) : m) == 0 || (n < 0 ? (n = -n) : n) == 0) { return m == 0 ? n : n == 0 ? m : 0; }

OpenStudy (anonymous):

return max(abs(m), abs(n))

OpenStudy (anonymous):

hmm yeah I should refactor that part :-P

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!