You are viewing a single comment's thread. Return to all comments →
int handshake(int n) { int sum =0; for(int i=1;i<n;i++) { sum+=(n-i); } return sum; }
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 →