Program Volume Kerucut dengan C++

Tuesday, March 29, 2011 7:20 AM by Computer and Programming

#include <iostream.h>
#include <conio.h>
#define phi 3.14
#define a 0.33
Main () {
float  v, la, r, t ;
cout <<”MENGHITUNG VOLUME KERUCUT \n”;
cout <<”masukan jari-jari =”;
cin >>r;
cout <<”masukan tinggi =”;
cin >>t;
   la = phi * (r*r) ;
v = a * (la * t) ;
cout <<”Jadi volume kerucut =”<<v;
getch (); }

0 Response to "Program Volume Kerucut dengan C++"

Post a Comment