I need help on this pyramid (the one on the right)s

There's nothing "on the right"
Show what you have done so far.

Is it a pyramid with inverted numbers or an inverted pyramid with numbers?
You're rather scarce with info explaining your problem.
You surely have tried to write some code.
Even if it does not work, show it to us we are used to that.
It's the only way your problem will get solved.

As you have not mentioned the full question yet and from your question it seems like you are trying these pattern programs for the first time. So, here is the trick to build code for any pyramid. You need to divide the pyramid into a matrix. Then build the logic keeping in mind that you need to have loops for rows, columns and spaces if you are doing a simple program of star pattern.

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.