Track Scala
Scala track

Diamond

An exercise from the Scala track
medium

About this exercise

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

lists
strings
text formatting
View all solutions