please help me wright this program

use for loop to construct a program that displays a pyramid of x it should be 20 lines high

Why did you post a question as a code snippet?
If you want help with this problem, post your current code in a new thread on the c++ forum and ask specific questions.
Make sure you post your question as a new thread.

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.