Write a C++ program that will create a triangle base on user input.
Prompt the user for a number, which will serve as the height of the
triangle. Also prompt the user for a symbol, which will serve as the
outline for the triangle. The user must be able to enter any number
and any character/symbol from the keyboard.
For example:
Enter a number: 10
Enter a symbol: *