You are viewing a single comment's thread. Return to all comments →
int sum = 0; for( int i = 0; i < n; i++ ) sum += prices[ i ]; System.out.println( sum / 2 == paid ? prices[ k ] / 2 : "Bon Appetit" );
Seems like cookies are disabled on this browser, please enable them to open this website
Bill Division
You are viewing a single comment's thread. Return to all comments →