Track JavaScript (Legacy)
JavaScript (Legacy) track

Diamond

An exercise from the JavaScript (Legacy) track
medium

About this exercise

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

arrays
control flow conditionals
control flow loops
exception handling
games
parsing
text formatting
View all solutions