+ 3
Can anyone help me to do a Java Program of a specific pattern.It should be of only single dimensonal array,as many you want.
The pattern should be.... 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 7 5 3 1 I know it's a bit weird but please help me I need it for my assignment......
15 Respuestas
+ 7
Since I won't be awake when you wake up, I will post my Kotlin version so you could convert it, if you choice that option.
https://code.sololearn.com/cXN2GtQPQEsb
+ 6
sujith Patterns are my favorite type of code so I've got a list of them:
https://www.sololearn.com/discuss/1078102
+ 5
Avinash Thakur Yeah, Thanks man I should probably delete my post.
deleted.
This pattern doesn't make sense to me.
did you figured out?
+ 4
It is an interesting problem. Took me 5 minutes to write. You're choice:
- working code in different language, which you convert to Java, or
- I give you steps and you code.
+ 4
It certainly could be, but without confirmation, you can't assume it.
+ 2
sujith your third and fifth lines don't match the pattern.
+ 2
you are right :-)
+ 2
i am just a learner not a professional programmer . i just tried
+ 2
i have changed my code try it :-)
+ 2
sujith you are God bro....
You are God....
Thank You!!!
+ 2
You are welcome
+ 1
Tanay , you didn't read the pattern correctly.
+ 1
here is your ans.
https://code.sololearn.com/crm4H9262m39/?ref=app
+ 1
i think of third line is 5 7 9 1 3
+ 1
i like to code. if any other project you have like this send me . i will try to solve it :-)