0

Pattern programming

can anyone help me to print 1 32 456 10987

22nd May 2018, 5:04 AM
Pavankumar A N
Pavankumar A N - avatar
8 Respuestas
+ 5
22nd May 2018, 5:35 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 4
Pavankumar A N are you having problems with your java/c implementation of the algorithm? Post your code link here so we can help.
22nd May 2018, 9:08 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 2
#If you are into oneliners try [print(''.join([str(i) for i in range(j*(j-1)//2+1,j*(j+1)//2+1)][::(-1,1)[int(j%2)]])) for j in range(1,5)]
22nd May 2018, 9:38 AM
Louis
Louis - avatar
0
1 3 2 4 5 6 10 9 8 7 so 1 2 3 4 5 6 7 8 9 10
22nd May 2018, 5:16 AM
Disvolviĝo;
Disvolviĝo; - avatar
0
I know this but I want to print the pattern what I requested.
22nd May 2018, 5:22 AM
Pavankumar A N
Pavankumar A N - avatar
0
can you please write it in either java or c?
22nd May 2018, 9:00 AM
Pavankumar A N
Pavankumar A N - avatar
0
I don't know python that's why I'm asking you to code it in java either c. please
22nd May 2018, 9:14 AM
Pavankumar A N
Pavankumar A N - avatar
21st Jul 2020, 12:54 AM
shubham kumar
shubham kumar - avatar