+ 8

Challenge

Sample I/p - 4(size of sq. pattern) 5&@(Enter any 3 characters) Sample Output :- @ 5 5 @ & @ @ & & @ @ & @ 5 5 @ 5 - It fills the upper & lower portion diagonals & - It fills the left & right portion of diagonals @ - It fills both the diagonals of square. Write a program to generate this pattern , try to keep the complexity as less as possible.

9th Mar 2018, 1:24 PM
Mr.Curious
Mr.Curious - avatar
4 Answers
9th Mar 2018, 5:52 PM
Paul
Paul - avatar
+ 6
https://www.sololearn.com/discuss/1082512/?ref=app
9th Mar 2018, 1:29 PM
Vishal Pal❄️⚛️
Vishal Pal❄️⚛️ - avatar
9th Mar 2018, 4:51 PM
Mr.Curious
Mr.Curious - avatar
+ 2
https://code.sololearn.com/ctWq5TKB0u1Z/?ref=app
5th May 2018, 9:10 AM
...