Challenge: Pattern in JAVA | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

Challenge: Pattern in JAVA

Make a program in JAVA which print that pattern: 10* 12*** 14***** 16******* 18********* 20** 22**** 24****** 26******** 28********** 30*** 32***** 34******* 36********* 38*********** 40**** 42****** 44******** 46********** 48************

23rd Dec 2017, 9:08 AM
Daniel
Daniel - avatar
12 Answers
23rd Dec 2017, 4:43 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 16
have anyone tried my code again?
23rd Dec 2017, 6:04 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
23rd Dec 2017, 10:08 AM
LukArToDo
LukArToDo - avatar
23rd Dec 2017, 4:33 PM
Marfik Em
Marfik Em - avatar
29th Dec 2017, 6:02 PM
Infinity
Infinity - avatar
+ 5
https://code.sololearn.com/cKU94GRMeDKE/?ref=app
23rd Dec 2017, 10:32 AM
Faisal Rahman
Faisal Rahman - avatar
+ 5
Maybe all of you could comment your code for learning mode for beginners ;-)
23rd Dec 2017, 4:43 PM
Daniel
Daniel - avatar
+ 5
This is the Answer ,hope you like it. This works for n no. of lines I tried to keep the program very simple. If there is any problem , please let me know If you want your output give n=20 Thanks. https://code.sololearn.com/cIvtIPj0MHCX/?ref=app
23rd Dec 2017, 6:12 PM
Mr.Curious
Mr.Curious - avatar
+ 4
https://code.sololearn.com/c0P0pMHvUOct/?ref=app
24th Dec 2017, 9:48 AM
Luc Hariman Randrianomenjanahary
Luc Hariman Randrianomenjanahary - avatar
+ 1
any one tell me who I pay attention regular programming now I am 3rd semester I am confused we learn java these days I have great studies resources but no my attention! still confused. ..
24th Dec 2017, 7:37 AM
Ahsan Ch
Ahsan Ch - avatar
21st Jul 2020, 12:58 AM
shubham kumar
shubham kumar - avatar