Not able to get this output as below:
Need to do this using an array and for loops.
In google i find the solution to be difficults. Suggest pls
1 8 9 16
2 7 10 15
3 6 11 14
4 5 12 13
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Laxmidhar SahooPosted Dec 4, 2017, 2:23 AM
Ankit SharmaPosted Dec 3, 2017, 7:29 AM
Sameer ShaikPosted Dec 3, 2017, 6:53 AM
Nakhia SharmaPosted Dec 3, 2017, 5:52 AM