//judul program : Rumus Volume Kerucut
//created by maiaachiea
#include <iostream.h>
#include <conio.h>
#include <math.h>
void main () {
float phi=3.14, r, t, Volume;
cout<<"INGIN TAU VOLUME KERUCUT...??"<<endl<<endl;
cout<<"MASUKKAN JARI-JARI = ";
cin>>r;
cout<<"MASUKKAN TINGGI = ";
cin>>t;
Volume = 0.33*phi*r*t;
cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"VOLUME KERUCUT = "<<Volume<<endl<<endl;
cout<<"*SELAMAT BELAJAR,SEMOGA SUKSES*"<<endl<<endl;
}
Posting Komentar