Track PHP
PHP track

Diamond

An exercise from the PHP track
easy

About this exercise

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

lists
loops
strings
View all solutions