You are viewing a single comment's thread. Return to all comments →
my c# solution
return y1 > y2 ? 10000 : y1 < y2 ? 0 : m1 > m2 ? (m1 - m2) * 500 : m1 < m2 ? 0 : (d1 > d2) ? (d1 - d2) * 15 : 0;
Seems like cookies are disabled on this browser, please enable them to open this website
Library Fine
You are viewing a single comment's thread. Return to all comments →
my c# solution
return y1 > y2 ? 10000 : y1 < y2 ? 0 : m1 > m2 ? (m1 - m2) * 500 : m1 < m2 ? 0 : (d1 > d2) ? (d1 - d2) * 15 : 0;