#include
#include
float v_balok(float a, float b, float c){
return (a*b*c);
}
float v_kubus(float d){
return (d*d*d);
}
float v_kerucut(float e, float f){
float pi = 3.14;
return (pi*e*e*f)/3;
}
float v_bola(float g){
float pi = 3.14;
return (4*pi*g*g*g)/4;
}
int main(){
char pil;
float pi = 3.14;
float p, l, t, s, r;
int kode;
for(char ulang = 'y'; ulang == 'y' || ulang =='Y' ; ){
cout<<" PROGRAM MENGHITUNG BANGUN RUANG "< ?"; cin>>pil;
}else if (kode==5){
cout<<"Terima Kasih"<>ulang;
system("cls");
}
}
Selamat Mencoba dan Semoga Bermanfaat
0 komentar:
Posting Komentar