#include <iostream>
#include <string.h>
using namespace std;
int main() {
float luas, alas, tinggi;
char name[20]; strcpy(name, "Syifa Asih Nirwana");
char hp[20]; strcpy(hp, "083871701847");
char nim[20]; strcpy(nim, "1620230019");
puts("--------------------------------------------------------");
cout<<"Program Menghitung Luas Segitiga"<<endl;
puts("--------------------------------------------------------");
cout<<"Masukan nilai alas segitiga \t : \n"; cin>>alas;
cout<<"Masukan nilai tinggi segitiga \t : \n"; cin>>tinggi;
puts("--------------------------------------------------------");
cout<<"Luas Segitiga = (Alas \t * \t Tinggi) \t* 0.5"<<endl;
luas = 0.5 * alas * tinggi;
cout<<"Luas Segitiga = ("<<alas<<" \t * \t "<<tinggi<<") \t\t* 0.5"<<endl;
printf("Luas Segitiga = %.2f \n", luas);
puts("--------------------------------------------------------");
cout<<"Nama: "<<name<<endl;
cout<<"HP : "<<hp<<endl;
cout<<"Nim : "<<nim<<endl;
puts("--------------------------------------------------------");
return 0;
}