You are viewing a single comment's thread. Return to all comments →
c#
public static long taumBday(int b, int w, int bc, int wc, int z)
{ long minbc = Math.Min(bc, (wc + z)); long minwc = Math.Min(wc, (bc + z)); long cost = (minbc * b) + (minwc * w); return cost; }
Seems like cookies are disabled on this browser, please enable them to open this website
Taum and B'day
You are viewing a single comment's thread. Return to all comments →
c#
public static long taumBday(int b, int w, int bc, int wc, int z)