#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int alas, tinggi;
float luas;
cout << "----------------------------------------\n";
cout << "Nama : Dhafin Shabir Alfatih\n";
cout << "NIM : 3420230036\n";
cout << "----------------------------------------\n";
cout << "Program Menghitung Luas Segitiga\n";
cout << "----------------------------------------\n";
cout << "Masukan nilai alas segitiga : \n";
cin >> alas;
cout << "Masukan nilai tinggi segitiga : \n";
cin >> tinggi;
cout << "----------------------------------------";
luas = (alas * tinggi) * 0.5;
cout << "\nLuas Segitiga = (Alas * Tinggi) * 0.5\n";
cout << "Luas Segitiga = (" << alas << " * " << tinggi << ") * 0.5\n";
cout << fixed << setprecision(2); // Mengatur presisi 2 angka di belakang koma
cout << "Luas segitiga = " << luas << "\n";
return 0;
}