Submitted Questions

  • Spiral Structure

    Write a program for generating a spiral structure of N number.For example: If N= 4 then the structure will be as follow-1 24 3 If N=5, then the structure will be as follow- 1 25 4 3 If N=9, then the structure will be as follow-7 8 96 1 25 4 3 If N=15, then the structure will be as follow-7 8 9 106 1 2 115 4 3 12 15 14 13 If N=18, then the structure will be as follow- 7 8 9 10 6...