Coding Dojo

Edit on Github

About this Kata

Alistair Cockburn wrote a blog post about this kata, in response to the Seb Rose kata proposition.

Problem Description

Given a letter, print a diamond starting with ā€˜Aā€™ with the supplied letter at the widest point.

For example: print-diamond ā€˜Cā€™ prints

  A
 B B
C   C
 B B
  A