Write an interactive program (algorithm and flowcharthat computes the area of rectangle ( area = base* height) and area of triangle ( area = 1 * base* height). Let the user choose what area to compute by prompting the first character of figure name (R-Rectangle or T - Triangle) then compute and print the desired result.
Comments