Write a program that prompts the user for an integer and then displays a pyramid of this height made up of hash (#) on the screen.
A sample run is as follows:
How height would you like the pyramid to be? 8
#
# #
# # #
# # # #
# # # # #
# # # # # #
# # # # # # #
# # # # # # # #
A sample run is as follows:
How height would you like the pyramid to be? 8
#
# #
# # #
# # # #
# # # # #
# # # # # #
# # # # # # #
# # # # # # # #