i'm try to mack a program in C++....

this program is an elevator "lift" i whant somone ro write the code for the elevitor but i'm trining to do it in a recarceve function


pleeeeeeeeeez help me