+ 1

How to write a C++ code for pascal triangle?

I'm beginner for C++. Kindly help me.

22nd Jun 2019, 7:03 AM
Duraipandian
Duraipandian - avatar
9 Antworten
+ 5
This app will help you to learn patterns in c++ https://play.google.com/store/apps/details?id=com.sitseducators.cpppatternprogramsfree and for pascals triangle I recommend to read this article from studytonight.com https://www.studytonight.com/cpp/pascal-triangle-program.php
22nd Jun 2019, 8:25 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 2
Or if just want the answer see this https://code.sololearn.com/cL5A5WmjNj0M/?ref=app
22nd Jun 2019, 9:46 AM
Sahil Bhakat
Sahil Bhakat - avatar
+ 1
Try this first before going to any link Try to do it combination (nCr)
22nd Jun 2019, 8:32 AM
Sahil Bhakat
Sahil Bhakat - avatar
+ 1
Omkar ok bro
22nd Jun 2019, 9:36 AM
Duraipandian
Duraipandian - avatar
0
Sahil , sorry. i can't understand bro.
22nd Jun 2019, 9:37 AM
Duraipandian
Duraipandian - avatar
0
Duraipandian If you are a beginner and you are starting of you should try to build up your own logic in that way it would be better, in my previous answer I gave a hint to solve that code and if you have read about the combination and permutations this problem specially needs the combination to solve it
22nd Jun 2019, 9:44 AM
Sahil Bhakat
Sahil Bhakat - avatar
0
ok sahil.. I will read about it.
22nd Jun 2019, 12:53 PM
Duraipandian
Duraipandian - avatar
0
Thank you
22nd Jun 2019, 12:54 PM
Duraipandian
Duraipandian - avatar
0
Duraipandian Tell me if you understood it or not
23rd Jun 2019, 3:29 PM
Sahil Bhakat
Sahil Bhakat - avatar