+ 5

Pattern in java

1234554321 1234 4321 123 321 12 21 1 1

30th May 2020, 2:48 PM
Sneha
15 Answers
+ 12
Have you made yourself your own attempt?
30th May 2020, 2:51 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 Oho.. Apne code ki publicity kar rhe ho😂😂😂 Mazaak kar rha hoon It's just a demo....
30th May 2020, 3:10 PM
Namit Jain
Namit Jain - avatar
+ 4
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 The space should increase with every iteration
30th May 2020, 4:26 PM
Namit Jain
Namit Jain - avatar
+ 2
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 please display a java pattern code otherwise your code appears to be advertising other than relevant to the discussion. https://code.sololearn.com/c8HQ2vz24iDa/?ref=app
30th May 2020, 3:11 PM
BroFar
BroFar - avatar
+ 2
Sneha If you see, 55 is replaced by 3 spaces (len('55') + 1) 4554 is replaced by 6 spaces (len('4554') + 2) 345543 is replaced by 9 spaces (len('345543') + 3) 23455432 is replaced by 12 spaces (len('23455432') + 4) I hope you get the pattern followed in this case... Actually, I don't know the syntax used for length in Java... len stands for length of the string in the parenthesis in python...
30th May 2020, 3:24 PM
Namit Jain
Namit Jain - avatar
+ 2
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 See the pattern carefully... This was not expected
30th May 2020, 4:12 PM
Namit Jain
Namit Jain - avatar
+ 2
See this program it will help you : https://code.sololearn.com/cP9eUt7l5EH7/?ref=app
23rd Oct 2020, 12:34 PM
Ashutosh Kumar [ Falcon Coding ]
Ashutosh Kumar  [ Falcon Coding ] - avatar
30th May 2020, 3:31 PM
BroFar
BroFar - avatar
0
Tell in java its urgent 😞
30th May 2020, 2:49 PM
Sneha
0
Yes but its not coming after trying several time please can you help me out
30th May 2020, 2:53 PM
Sneha
0
How to post actually i have joined yesterday only......
30th May 2020, 2:55 PM
Sneha
0
Please help me as i am a new learner
30th May 2020, 2:55 PM
Sneha
0
Its a html
30th May 2020, 3:10 PM
Sneha
0
Tell in java please
30th May 2020, 3:10 PM
Sneha
0
Can you tell me
30th May 2020, 3:11 PM
Sneha