I want to write a program the uses a while loop to get integers from a user. then using nested for loops, creates a square of the number using asterisks. when this said user enters zero then the program ends.
does anyone know how to go about doing this. an example of what the output should look like is this:
here is a small hint to help you.
on the first and last line it are all temp times '*' but on the lines between in the first and the last character only are a '*' so that means that you have to type N-2 spaces between them.