We are constructing a tower,
and there's a specific target
height we aim to reach.
Each floor of the tower has a
known height.
While the tower can surpass the
target height,
it must not fall short.
You have the following tasks:
- Determine the total number of floors in the tower and log it to the console.
- Round up the calculated number to the nearest whole floor and log it to the console.
- Round down to the nearest whole floor and log it to the console.