//judul program : Rumus Volume Tabung
//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 TABUNG...??"<<endl<<endl;
cout<<"MASUKKAN JARI-JARI = ";
cin>>r;
cout<<"MASUKKAN TINGGI = ";
cin>>t;
Volume = phi*r*r*t;
cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"VOLUME TABUNG = "<<Volume<<endl<<endl;
cout<<"*SELAMAT BELAJAR,SEMOGA SUKSES*"<<endl<<endl;
}
Posting Komentar