Hi, I am trying to printa star pattern like below:
It has space between two lines. I am trying to write a code but not able to print two or more consecutive stars in one line.
See my xaml file below. In the output panel, in the second row, it should print two stars ā * * ā
but it is printing one star in one line only and second star in next line.
I am sure there must be some way to get it done and I am not getting it. Please can somebody help me.
I wish I could select both of them as SOLUTIONS. I have chosen the first one because I checked that first.
However, the second one by @FrankSchikora is much compact.
So, for me, both of these are the perfect solutions.