0

Write a program in java to generate a Spiral Matrix of order n*n, where n must be an odd number.

Write a program in java to generate a Spiral Matrix of order n*n, where n must be an odd number. In both ways : i) 5 6 7 8 9 4 19 20 21 10 3 18 25 22 11 2 17 24 23 12 1 16 15 14 13 ii) 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9 In both ways i a program Please describe it. Hail Java.

13th Jun 2019, 10:43 AM
MANAS RASTOGI
MANAS RASTOGI - avatar
1 Odpowiedź
+ 2
Please don't post the same question twice, just because you weren't satisfied with the answers, thank you ; ) https://www.sololearn.com/discuss/1316935/?ref=app
13th Jun 2019, 10:46 AM
Airree
Airree - avatar