Computer Science, asked by lunakrystal, 1 year ago

____ 4
___4 3 4
_ 4 3 2 3 4
4 3 2 1 2 3 4
_ 4 3 2 3 4
__  4 3 4
____ 4

Write a C++ program to obtain the above double pyramid.


lunakrystal: use nested loops
nitish8089: haha..
lunakrystal: what's so funny?
nitish8089: when you know how to do why ask??
lunakrystal: What do you mean? I don't know how to do it, that's why I ask.
nitish8089: i mean when you write nested loop then i think you know ho to print this pattern ...
lunakrystal: well, I tried to do it, but didn't get the desired output.
nitish8089: would you break down in 4 part...
nitish8089: pattern...
lunakrystal: I did broke it down in 4 parts but something is really off about my code.

Answers

Answered by sulaimankhan0609
0

Answer:

c++ coding

Explanation:

PRINT I just want points

Similar questions