. Write a C++ program to calculate area of a Triangle
#include <iostream>
using namespace std;
int main() {
double base, height, area;
cout << "Enter base of the triangle: ";
cin >> base;
cout << "Enter height of the triangle: ";
cin >> height;
area = 0.5 base height;
cout << "The area of the triangle is: " << area;
return 0;
}