You are viewing a single comment's thread. Return to all comments →
function minNum(samDaily, kellyDaily, difference) { if (kellyDaily <= samDaily) { return -1; } let days = 0 while (difference >= 0){ difference-= (kellyDaily - samDaily) days++ } return days }
Seems like cookies are disabled on this browser, please enable them to open this website
Coding Friends
You are viewing a single comment's thread. Return to all comments →
JavaScript