your program must calculate the area of a triangle multiple times. each time, the program will be given the height and the base of the triangle as double amounts. describe the method you would use to minimize the amount of code needed in your program. include the code that performs the calculation.