#include <iostream>
#include <conio.h>
using namespace std;
float r, v, l;
float phi=3.14;
cout<<"---------menhitung----------";
cout<<endl;
cout<<"----volume dan luas bola----";
cout<<endl;
cout<<" Masukan nilai R : ";cin>>r;
cout<<endl;
v=(4*phi*r*r*r)/3;
cout<<"
Besar volume : "<<v;
cout<<endl;
cout<<"
Besar luas : "<<l;
return 0;
getch;
}
No comments:
Post a Comment