can you help me to answer this problem...
A high building has 26 floors with the level 0 and the level 25 as the lowest and the highest level, respectively. It has a lift for transport the occupant to the level destination. The lift moves up and down in respect to the current lift position.
You are asked to write a simple lift program to simulate the movement of the building occupants in the lift. The lift moves only to one level destination either up or down depending on the destination. Initially the lift position is at ground level or level 0. After arriving at each destination level, the user is asked whether to continue using the lift or not. If yes, the lift will resume running from its current position or current floor level. Example of program running (user input in bold):
Destination level: 5
You are moving up:
Level 1
Level 2
Level 3
Level 2
Level 5
You have arrived. See you again.
Again? (y/n): y
Destination level: 3
You are moving down:
Level 4
Level 3
You have arrived. See you again.
Again? (y/n): y
Destination level: 3
You are already at level 3.
Again? (y/n): n
THANK YOU!