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%

The task

Write a simple console application that outputs the total order cost with and without tax for the below purchase:

Book nameCategoryTotal Cost
Unsolved crimesCrime10.99
A Little Love StoryRomance2.40
HeresyFantasy6.80
Jack the RipperCrime16.00
The Tolkien YearsFantasy22.90

Guidelines

  1. The application should be runnable in Visual Studio / Code via F5
  2. 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!