i want a program to write to pascal triangle

commented: Your question is good, but the way of presentation here is bad. +0
commented: We know your question is about C++. Make more informative thread titles. -5

Please show us what you have done so far. Paste in some code, show some work, and we can then help you.

How do you want to solve pascal triangle?

Directly or recursively?

Post your current developments.

You should try searching online for something like "algorithm for pascal's triangle". I did and I found this website. Take a look and pick the method you can implement best with your experience.

If you want help with something else then in the future try a better description of your problem and a better post title. Also, do a little looking around and see if the answer to your problem is given somewhere else.