Print a Big Diamond of Variable Size

Learn to perform type conversion and mathematical operations, and learn to take inputs from a user in Ruby.

Problem

Ask the user for the size of the diamond (based on the total number of rows) and then print out a diamond shape using hash characters #.

Get hands-on with 1400+ tech skills courses.