+ 1
Using Programming to solve a math question
The math questions goes, if a building has unlimited levels and on each level are 12 apartments. On what floor is âNâ?
2 Answers
+ 4
That is one ridiculous problem, a building with unlimited levels? I'm guessing the penthouse is called heaven đ
let floor_number = N / 12
If there is remainder from above division, increment floor_number by one.
+ 1
It's very simple, what grade are you in? âșïž You should be able to solve such problems.