This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ncontracts Code Challenge | |
// | |
// | |
// Please take a look at the code below. | |
// Even though the program runs and generates correct result, we consider the code to be bad. | |
// For example, if we want to expand the Christmas discount to January or if we want to introduce a first responder discount, the code can get really messy. | |
// We ask you to refactor the code so that it's easier to apply new changes to it. | |
// Once done, please send me a link to your gists. | |