Answer:
The elevator will display 6 that is level = 6.
Explanation:
The elevator is currently on the 3rd floor (level = 3). Whenever, the goUp procedure is called, the elevator climbed up based on the number provided as parameter to the goUp procedure.
Since the elevator is already on the 3rd floor and goUp(3) is invoked, it means the elevator will climb to 3 additional floor, which is level 3 + 3 and that gives us level 6.
So, the elevator will display level 6.