You are viewing a single comment's thread. Return to all comments →
C#
int fairlyValue = (bill.Sum() - bill[k])/2; int toBeRefund = b - fairlyValue; if(toBeRefund == 0) Console.Write("Bon Appetit"); else Console.Write(toBeRefund);
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 →
C#