Java practice programs
A company has installed a smart elevator system in its office building. The elevator operates based on the following rule. The elevator can move between 1st to 10th floor Users can enter their desired floor,but if the floor is outside the range,the system should print “Invalid floor” The elevator starts from 1st floor and moves […]