What is FizzBuzz Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both…
What is FizzBuzz Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both…
This is the third and final part to solve the Mars Rover kata. Part 1 and Part 2 to view what has been done previously. The Command Pattern The Command Pattern encapsulates a request as an object, thereby letting you…
If you have not come across this kata before, this is it: A Mars Rover has been developed to map out the landscape. It’s a small robot which can move on a grid, controlled by simple commands. In this example,…