hi my name is srikanth.i have been trying to develop a source code to print the pascal's triangle for the past three days.i have'nt had any success.i would be greatly obliged if anyone could give me a simple source code to print the pascal's triangle in C.
indianscorpion2
-1
Junior Poster in Training
Recommended Answers
Jump to PostIf you've been working on it for 3 days, surely you have developed a starting point. Why don't you post your code, indicate specifically what's not working, and someone will help you.
Jump to PostYou didn't like the answer the first time so you post it again?
Jump to PostMerged threads: indianscorpion2, please don't start new threads with the same topic in a relatively short period of time (a couple days). If you haven't had any success, how about starting with a failed attempt?
Jump to PostHere's the mathematical way to do it. But if this is homework, your teacher is probably looking for the brute force way of doing it. I won't show you that one because half the fun is figuring things out for yourself. The other half is writing the code to do …
All 14 Replies
winbatch
7
Posting Pro in Training
indianscorpion2
-1
Junior Poster in Training
winbatch
7
Posting Pro in Training
indianscorpion2
-1
Junior Poster in Training
Dave Sinkula
2,398
long time no c
Team Colleague
Dogtree
23
Posting Whiz in Training
uzone24
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
uzone24
0
Newbie Poster
uzone24
0
Newbie Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
Narue
5,707
Bad Cop
Team Colleague
willzyba
0
Newbie Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.