I need help with a problem. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need help with a problem.

I need to make a program that divides x quantity by 3, that is, I need 3 pieces of meat to make a dish, if I introduce 14 pieces of meat, which will give me as a result how many dishes I will make

2nd Sep 2021, 5:27 PM
William Rosado
William Rosado - avatar
1 Answer
+ 3
Sound like you need floor division. Please tag the relevant programming language.
2nd Sep 2021, 5:31 PM
Lisa
Lisa - avatar