//judul program : Rumus Prisma Segitiga
//created by maiaachiea
#include <iostream.h>
#include <conio.h>
#include <math.h>
void main () {
int p,l,t, Volume;
cout<<"INGIN TAU VOLUME PRISMA SEGITIGA...??"<<endl<<endl;
cout<<"MASUKKAN PANJANG = ";
cin>>p;
cout<<"MASUKKAN LEBAR = ";
cin>>l;
cout<<"MASUKKAN TINGGI = ";
cin>>t;
Volume = 0.5*p*l*t;
cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"VOLUME PRISMA SEGITIGA = "<<Volume<<endl<<endl;
cout<<"*SELAMAT BELAJAR,SEMOGA SUKSES*"<<endl<<endl;
}
Posting Komentar