Character Diamond

by Rathindra Nath Karmakar in Circuits > Computers

543 Views, 2 Favorites, 0 Comments

Character Diamond

diamond1.JPG

This java program accepts any printable character and displays a diamond constructed using it. Geometrically, it isn't a diamond. Rather, it is a rhombus. I like to call it a diamond. The program requires no explanation. Just dry run it, and you'll understand how it works.

Downloads