Asterisks Again!

I know that asterisk questions are all over the internet, and I really did not want to add to them but I am stuck. I need to print a triangle that starts with the base at the top and ends at the bottom, as it decreases the triangle needs to end on the right side of the scree. I wrote a program that prints a triangle with the point ending on the bottom left, but I am having trouble making its mirror image. I am not looking for someone to just fill in the code for me, I know this site is not meant to do my work for me. I am hoping that someone could give me a hint at the logic needed. My original plan was to write a third for loop that printed increasing blank space that would force the stars over one each row. I haven't been able to make this work, and I don't even know that is even the right track.
can be done in a single loop.
start with string of 80 asterisks
each pass through the loop removes an * and stuffs a space at the front.
Topic archived. No new replies allowed.