
Enter no.of rows if input is 3 then output like this
*
* * *
* * * * *
* *
* * * *
* * * * * *
* * * *
* *
* * * * *
* * *
*
If no.of row is 4 then
output is like this:
*
* * *
* * * * *
* * * * * * *
* *
* * * *
* * * * * *
* * * * * * * *
* * * * * *
* * * *
* *
* * * * * * *
* * * * *
* * *
*
what is the logic behind this structure as per input?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.