PLEASE help I have just a few hours to send this in.

I need to write a program that uses a WHILE LOOP, gets integers from the user. Then, USING NESTED FOR LOOPS, creates a triangle of that number using asterisks. When the user enters a zero, ends the program. Can someone help me with this.