+ 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 ответов
+ 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.