Write a Program that behaves as shown below
Here are the rules:
- Your program must work with any length greater than 1.
- Your program must use the character the user inputs to draw theparallelogram.
- Hint: I recommend you think of this as aprogram to output two triangles, one above the other (the longesthorizontal line is the border between the triangles).
- Your program must use a main() function (no global variables orglobal code other than a call to
OROR