By using logic functions we can convert logical algorithm into simple algorithm without logical trees. This converts logical operation to algebraic manipulation or math equation. This article is posted to viXra pre print archive link http://vixra.org/abs/1305.0080 Therefore we can make efficient programming. A complex program can be executable in an ordinary processor. Therefore it can be useful for mobile tablet and all computers.