Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 464 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 464 Bytes

tax-calculator

  1. Installing the project

composer install

It suppose you have Composer installed

  1. Use

php app.php 75000000

Where 75000000 is your income

Result :

$ php app.php 75000000
Tax is 6250000
  1. Tests

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/

Enjoy !