Havelsan interview question

write a program that can draw shapes based on the input