diff --git a/_kata_descriptions/diamond.md b/_kata_descriptions/diamond.md new file mode 100644 index 0000000..c53037d --- /dev/null +++ b/_kata_descriptions/diamond.md @@ -0,0 +1,35 @@ +--- +title: Diamond +kata_name: diamond +--- + +Diamond +------- + +Given a letter print a diamond starting with 'A' with the supplied letter at the widest point. + +For example: print-diamond 'E' prints + +
+ A + B B + C C + D D +E E + D D + C C + B B + A ++For example: print-diamond 'C' prints + +
+ A + B B +C C + B B + A ++ +### Acknowledgments +This kata is described on cyber-dojo.org \ No newline at end of file