To print this pattren using c++ code

123417181920
--567141516
----891213
------1011

Firstly, do realize you are posting in the JAVA (not C++) forum.
Secondly: do you have an actual question to go with this post?

If your question is in the line of "gimme the code", the answer would be: no.
This forum is visited by thousands of programmers over the world, willing to dedicate their spare time to help you improve your coding skills, not to help you cheat on your assignments.

When you subscribed to DaniWeb, you agreed to follow the community rules. Please read the second one under the header 'Keep It Organized'

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.