Given N, print a (2N-1) x (2N-1) square of concentric digits where the border is N and the values decrease toward the centre, which is 1. For N=4 the square is 7x7; for N=3 it is 5x5. Write code that…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.