You are here:

C/C program

Advertisement


Question
sir
i would like to know how to write a simple program to print pascals triangle in C

hoping for the reply
thanx


Answer
First tell me what is "Pascals Triangle"?
And do you know the mathematics behind this concept.
Without that, you cannot write a program for that.
If you already know the concept, then write it down in plain english.
Then convert it into "step by step" algorithm.
Once this is done, then it is very easy to write the program.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.