Chapter

Life & Taxes

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. How can conditionals and the change of base formula validate logarithm input in PHP?

    "38. Conditionals formula: log b ( x ) = log a ( x ) log a ( b ) If we can compute some base a , then we can compute any base b . Fortunately we have such a solution. Recall that the standard library

  2. How can PHP conditionals validate income and calculate life and taxes?

    "38.3.2. Life & Taxes Let’s adapt the conditional statements we developed in Section 3.6.4 into a full PHP script. The first thing we need to do is establish the variables we’ll need and read them in

Life & Taxes | ComputerScienceOne | Bifalgorithm | Bifalgorithm