Track Ruby
Ruby track

Diamond

An exercise from the Ruby track
medium

About this exercise

Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.

algorithms
conditionals
loops
strings
text formatting
View all solutions