Code Kata – Potter #5 – Discount for 3 & 4 Books


Discounts for 2 books are now granted. Let’s add the rules for 3 and 4 books, to show our generosity to the customers. Implementing this is fairly easy. Apparently, my previous work was not too bad 😉

► All Potter Kata Episodes: http://goo.gl/m9E4vF
► Let’s Develop! http://letsdeveloper.com
► Don’t Miss an Episode: http://goo.gl/whzDi1
► CodingDojo: http://codingdojo.org/cgi-bin/index.pl?KataPotter
► The Code: https://github.com/letsdeveloper/Lets-Develop-Code-Kata

«Code Kata»
Code Kata are small and simple programming problems that we execute to practice software engineering methods, like TDD or pair programming. The term is derived from Japanese martial arts.

«Other Series»
► Let’s Develop Conway’s Game of Life: http://goo.gl/xc59GX
► Let’s Refactor MovieRental: http://goo.gl/f7Yf21


Share this: Facebooktwittergoogle_plusredditpinterestlinkedinmail | Follow me: twittergoogle_plusyoutube