It looks like your code needs a lot of work. The desired output doesn't have any *s in it.
What kind of help are you looking for? I suggested an approach in my last post. Have you looked at that...
Type: Posts; User: Norm
It looks like your code needs a lot of work. The desired output doesn't have any *s in it.
What kind of help are you looking for? I suggested an approach in my last post. Have you looked at that...
What is the output that the program generates?
What's wrong with it?
You need to draw a grid on paper and look at it line by line to see what must be output for each line.