I have this code so for but i dont know what to do from here. After the user puts a positive integer in it should post the number like this. Example use 5
1
22
333
4444
55555
After rotating 90 degrees to the right, plots a triangle:
54321
5432
543
54
5
After rotating 180 degrees to the right, plots a triangle:
55555
4444
333
22
1
After rotating 270 degrees to the right, plots a triangle:
5
45
345
2345
12345
I dont know how to put the numbers in i have the code to do it for the first triangle but the rest i do not know how they are just * in the right
pattern here is my code so far.
Please help thank you.