Pattern Programs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Pattern Programs

just uploaded 5 patterns programs.. modified old codes.. check it guys and suggest some new patterns or any new tricky challenges. check all 5 patterns thanx in advance:) https://code.sololearn.com/cE73OmnXHgcW/?ref=app https://code.sololearn.com/cjwxGf1hmtCN/?ref=app https://code.sololearn.com/c5vHCwDou1Gz/?ref=app https://code.sololearn.com/csnKsewFmlTW/?ref=app https://code.sololearn.com/cjjzPxfgVY1K/?ref=app

20th Oct 2017, 6:38 AM
Pranit Gandhi
Pranit Gandhi - avatar
16 Answers
+ 3
@Prunier cin>> after return 0 doesn't work.... says cin was not defined in the scope
20th Oct 2017, 5:12 PM
Infinity
Infinity - avatar
+ 24
nice patterns sir ☺ hey , try my 2nd program here 👇👇👇 //its also a pattern program https://code.sololearn.com/ceMd4nL0rA7v/?ref=app
20th Oct 2017, 6:43 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
good job
20th Oct 2017, 6:45 AM
Oma Falk
Oma Falk - avatar
22nd Oct 2017, 11:04 AM
Oma Falk
Oma Falk - avatar
+ 3
https://code.sololearn.com/cDq0BzB7rrIt/?ref=app
20th Oct 2017, 5:12 PM
Infinity
Infinity - avatar
+ 2
thanx brothers @Gaurav @Oma
20th Oct 2017, 7:48 AM
Pranit Gandhi
Pranit Gandhi - avatar
+ 2
yes it gives error to scanf so I just removed it and used cin instead of it... @infinity
20th Oct 2017, 5:15 PM
Pranit Gandhi
Pranit Gandhi - avatar
+ 2
Because you should put it in a string like I wrote ;)
20th Oct 2017, 5:21 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 2
Nice ! :)
20th Oct 2017, 7:49 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
23rd Oct 2017, 7:33 PM
Oma Falk
Oma Falk - avatar
+ 1
You can use scanf in Sololearn if you add "cin>>n"; after return 0 in main :)
20th Oct 2017, 1:29 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
okks I will try it in my next program of patterns..@Baptiste they will soon get uploaded
20th Oct 2017, 5:33 PM
Pranit Gandhi
Pranit Gandhi - avatar
8th Oct 2019, 5:24 PM
Siddhi Tiwari
Siddhi Tiwari - avatar
0
Pattern
29th May 2019, 9:49 PM
monu Khan
monu  Khan - avatar
16th Mar 2020, 7:49 AM
Akbar Ali Quazi
Akbar Ali Quazi - avatar
- 1
https://code.sololearn.com/c8OeV7di4VTn/?ref=app
21st Jul 2020, 12:53 AM
shubham kumar
shubham kumar - avatar