Hi, I am a beginner at c++. I am really stuck on this question and I really need help on it. I am trying to make diamond asterisks in c++. Here is the question: Write a program that prints the following diamond shape. You may use output statements that print either a single asterisk (*) or a single blank. Maximize your use of repetition ( with nested while or do/while structures) and minimize the number of output statements.
--*--
-***-
*****
-***-
--*--
This is the diamond. The dashes are meant to be spaces.
I really appreciate those who are willing to help me.
I have, but I need my teacher wants me to do it with while loops and everything else that I have seen is out of the range that I am learning right now.