+ 1
Pattern Print
Create a pattern if n=4 (n is user defined) 1*2*3*4 9*10*11*12 13*14*15*16 5*6*7*8 if n=5 1*2*3*4*5 11*12*13*14*15 16*17*18*19*20 21*22*23*24*25 6*7*8*9*10
3 ответов
0
I think that correct when n=5 is
1*2*3*4*5
11*12*13*14*15
21*22*23*24*25
16*17*18*19*20
6*7*8*9*10
in order to be symmetric
0
no the pattern in the question is correct
0
I solve your problem in C assuming the pattern is symmetric as @Prokopios Poulimenos said. I can't understand the pattern that you are looking for with the info that you've provided, if you can explain better maybe I can help you.
Anyway check my solution, maybe it can be useful to you.
https://code.sololearn.com/cubplu403V6k/#c