This macro is to be run from the Calc program. How does it work? When the user starts the macro, a dialog is opened: The user insets values for the upper and lower triangles, and clicks the submit button. Then the macro draws two triangles in the cell selected. Each triangle is empty or contains …