//judul program : rumus volume balok
//created by maiaachiea
#include <iostream.h>
#include <conio.h>
#include <math.h>
void main () {
int p,l,t, Volume;
cout<<"INGIN TAU VOLUME BALOK...??"<<endl<<endl;
cout<<"MASUKKAN PANJANG = ";
cin>>p;
cout<<"MASUKKAN LEBAR = ";
cin>>l;
cout<<"MASUKKAN TINGGI = ";
cin>>t;
Volume = p*l*t;
cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"VOLUME BALOK = "<<Volume<<endl<<endl;
cout<<"*SELAMAT BELAJAR,SEMOGA SUKSES*"<<endl<<endl;
}
+ komentar + 1 komentar
semoga bermanfaat teman...... ^_^
Posting Komentar