Agnity interview question

Write program to print a matrix in spiral form