You are asked to write a program to control the status (either ON or OFF) of a water pump depending on the water level of the storage tank: If the water level of the tank is higher than the user defined maximum level, the status of the pump should be set to OFF, otherwise, the status of the pump should be set to ON. Your program should only check on status once.
Create pseudo-codes, flowchart, and AutoLISP codes by using the IF-THEN-ELSEstatement/function for the above described task. The program should prompt the user to enter the maximum level of the storage tank. Use appropriate variable names as follow:
Water level of the storage tank: Level
Maximum level of the storage tank: MaxLevel