Write down the function is pseudocode called calculate area which calculates the area of a triangle. Algorithm for area computation is this: area=1/2*base*height. Decide what inputs and output must be. At last, write the assignment statement to exercise this function.