You are viewing a single comment's thread. Return to all comments →
class Result { public static int handshake(int n) { int result=0; if (n>1) { for (int i=0; i<n; i++) { result += i; } } return result; } }
Seems like cookies are disabled on this browser, please enable them to open this website
Handshake
You are viewing a single comment's thread. Return to all comments →