+ 4
Write a code to print the following pattern
1 2 6 3 7 10 4 8 11 13 5 9 12 14 15 i tried it a lot but i can't get ot logic so please tell me its answer
4 Respuestas
+ 2
Why don't you try yourself?
+ 1
Here's a code printing this pattern but not with numbers. Try to modify it.
https://code.sololearn.com/cnPriFGF8wj0/?ref=app
+ 1
https://code.sololearn.com/cwiTc3Qa4YxM/?ref=app
you can do the exact same thing with Java, translating the for loop