Menghitung Volume Dan Luas Limas Segi Empat (C++)

#include<iostream>
using namespace std;
int main(void)
{
double P,L,T,La,Ls;
cout<<“Menghitung Volume Dan Luas Limas Segi Empat”<<endl;
printf(“===========================================
“);
printf(”
“);
cout<<“Panjang Limas = “<<endl;
cin>>P;
cout<<“Lebar Limas = “<<endl;
cin>>L;
cout<<“Tinggi Limas = “<<endl;
cin>>T;
printf(”
“);
printf(“Jawab :
“);
printf(”
“);
La = P*L;
Ls = (La*T*1/2)*4;
cout<<” Mencari Luas Alas : Panjang * Lebar = “<<La<<endl;
cout<<” Mencari Luas Selubung : (1/2 * Alas * Tinggi) * 4 = “<<Ls<<endl;
printf(”
“);
cout<<” Luas Limas : “<<endl;
cout<<” Luas Alas + Luas Selubung = “<<La+Ls<<endl;
printf(”
“);
cout<<” Volume Limas : “<<endl;
cout<<” 1/3 * Panjang * Lebar * Tinggi = “<<(P*L*T)*1/3<<endl;
return 0;

}