How to make a looping statement on c++ that will give an output like this?

___________@
__________@@@
_________@@@@@
________@@@@@@
_______@@@@@@@@
______@@@@@@@@@@
_______@@@@@@@@
________@@@@@@
_________@@@@@
__________@@@
___________@


(underscore represent space)

Give it a shot and we'll help you if you get stuck.

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.