My interview coding test
Technical Test - Book Store
An online books store sells books for 3 different categories: Crime, Romance, Fantasy.
Currently all books within the Crime category are discounted by 5%
Total tax for the whole order is 10%
Write a simple console application that outputs the total order cost with and without tax for the below purchase:
|Book name||Category||Total Cost|
|A Little Love Story||Romance||2.40|
|Jack the Ripper||Crime||16.00|
|The Tolkien Years||Fantasy||22.90|
- The application should be runnable in Visual Studio / Code via F5
- The code should be accessible on the public/private Git repo.
Hint: you could manually calculate your answer first to confirm your logic is sound!