Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 118,923 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 1,960 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Pascal triangle for 10 rows.

 
Reply to this topicStart new topic

Pascal triangle for 10 rows., i want the code for pascal triangle in c language

sandyforcode
post 18 Jul, 2008 - 11:03 AM
Post #1


New D.I.C Head

*
Joined: 18 Jul, 2008
Posts: 1

hiiiiiiiiiiii
wanna some sophisticated code
User is offlineProfile CardPM

Go to the top of the page


gabehabe
post 18 Jul, 2008 - 11:09 AM
Post #2


T3H R0XX0R!

Group Icon
Joined: 6 Feb, 2008
Posts: 3,608



Thanked 73 times

Dream Kudos: 2400

Expert In: (X)HTML, CSS, Batch Scripting, C, C++

My Contributions


my snippet

It's written in C++ so you'll have to make a few changes to it.

But, I gotta give you the rules here too:
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is online!Profile CardPM

Go to the top of the page

KYA
post 18 Jul, 2008 - 12:44 PM
Post #3


#include <nerd.h>

Group Icon
Joined: 14 Sep, 2007
Posts: 3,130



Thanked 24 times

Dream Kudos: 1150
My Contributions


Sophisticated code > unsophisticated code?
User is offlineProfile CardPM

Go to the top of the page

gabehabe
post 18 Jul, 2008 - 12:47 PM
Post #4


T3H R0XX0R!

Group Icon
Joined: 6 Feb, 2008
Posts: 3,608



Thanked 73 times

Dream Kudos: 2400

Expert In: (X)HTML, CSS, Batch Scripting, C, C++

My Contributions


Unsophisticated_code > KYA_code
User is online!Profile CardPM

Go to the top of the page

KYA
post 18 Jul, 2008 - 12:49 PM
Post #5


#include <nerd.h>

Group Icon
Joined: 14 Sep, 2007
Posts: 3,130



Thanked 24 times

Dream Kudos: 1150
My Contributions


Sophisticated_code > KYA_code > codeplzkthxbai > gabehabe
User is offlineProfile CardPM

Go to the top of the page

gabehabe
post 18 Jul, 2008 - 01:21 PM
Post #6


T3H R0XX0R!

Group Icon
Joined: 6 Feb, 2008
Posts: 3,608



Thanked 73 times

Dream Kudos: 2400

Expert In: (X)HTML, CSS, Batch Scripting, C, C++

My Contributions


I ran teh codez kya, thay dont wrk. says "gabehabe 2 gd, rong order"

Try this:
gabehabe == success;
KYA == gay_failure;

That ran fine for me, no errors.
User is online!Profile CardPM

Go to the top of the page

KYA
post 18 Jul, 2008 - 02:36 PM
Post #7


#include <nerd.h>

Group Icon
Joined: 14 Sep, 2007
Posts: 3,130



Thanked 24 times

Dream Kudos: 1150
My Contributions


cpp

while (gabehabe.MakingFunofKYA() == true)
{
cout << crappyJoke;
if (notSaidGay.withinLast10Minutes)
cout << "KYA is gay";
else
cout << crappyJoke;
}


wink2.gif
User is offlineProfile CardPM

Go to the top of the page

gabehabe
post 18 Jul, 2008 - 03:14 PM
Post #8


T3H R0XX0R!

Group Icon
Joined: 6 Feb, 2008
Posts: 3,608



Thanked 73 times

Dream Kudos: 2400

Expert In: (X)HTML, CSS, Batch Scripting, C, C++

My Contributions


icon_up.gif
User is online!Profile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 10/13/08 05:13AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month