Please help me to answer the following problems, I am new with the c++ code,
Write a c++ program that may be use to compute the area of square (area=sideside) or a triangle (area=1/2base*height). After prompting the user to type the first character of the figure name (S or T) if S you will compute the area of square, if T you will compute the area of trianglE.