If you turn that into a question, I'll give you some guidance.
Find the formula which you can place in your program to find
area of Triangle and square.
Area_of_triangle = (0.5 * base * height);
Area_of_square = side * side;
If you turn that into a question, I'll give you some guidance.
Find the formula which you can place in your program to find
area of Triangle and square.
Area_of_triangle = (0.5 * base * height);
Area_of_square = side * side;
Didn't find the answer you were looking for?