A new method namely, algebraic elimination method is proposed for finding a complementarity feasible solution to the linear complementarity problem which have applications in non-linear programming, economics, game theory and engineering. Then, the algebraic elimination method is extended to quadratic programming problems. The solution procedure is illustrated by means of numerical examples.