#include <stdio.h>
int main() {float base, height, area;
// Input base and height of the triangleprintf("Enter the base of the triangle: ");scanf("%f", &base);printf("Enter the height of the triangle: ");scanf("%f", &height);// Calculate the area of the trianglearea = 0.5 * base * height;// Display the area of the triangleprintf("The area of the triangle is: %.2f\n", area);return 0;}


