i have been working on this program for like 4 hours and i just cannot come up with a solution...i do know that loops have to be used...
Problem:
Write a program that prompts the user to enter an intger from 1 to 15 and displays a pyramid, as shown in the following sample run:
Enter the number of lines: 7
______1
_____212
____32123
___4321234
__543212345
_65432123456
7654321234567
those are suppose to be spaces instead of underscores...its only way i could make it look right on this post
i have got the right side of it, but i'm stuck on how to get the left side.