DEV Community

Prashant Raj
Prashant Raj

Posted on

👋 Hey Dev Community! I'm facing an issue with my C++ code for a pattern. Can someone lend a hand? 🙏

I'm trying to create a pattern using nested loops, but it's not giving me the expected result. The output seems off, and I can't figure out what's causing the issue. 🤔

The pattern should resemble Buttery-Fly pattern upper part like

  • * ** ** *** *** ********* ,but the current output is.
  • * ** ** *** *** ********

Any insights or suggestions would be greatly appreciated! 🙌 Thanks in advance for your help! 🚀

Top comments (0)