eggCartons(eggs)

eggCartons(eggs)

Write the function eggCartons(eggs) that takes a non-negative integer number of eggs, and returns the smallest integer number of cartons required to hold that many eggs, where a carton may hold up to 12 eggs.

信息

ID
1008
难度
(无)
分类
(无)
标签
(无)
递交数
0
已通过
0
通过率
?
上传者