+ 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”?

22nd Nov 2021, 5:59 PM
Snapp Player
Snapp Player - avatar
2 Respuestas
+ 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.
22nd Nov 2021, 6:50 PM
Ipang
+ 1
It's very simple, what grade are you in? ☺️ You should be able to solve such problems.
22nd Nov 2021, 6:48 PM
Solo
Solo - avatar