3.2=>MENGHITUNG LUAS VOLUME BOLA MENGGUNAKAN C++ DAN RAPTOR

#include <iostream>
using namespace std;

int main(int argc, char** argv){
     int jari;
     long int luas,volume;
     double phi=3.14;
     cout<<"Mengitung luas dan volume bola"<<endl;
     cout<<endl;
     cout<<"masukan jari jari:";
     cin>>jari;
     volume=(4*phi*jari*jari*jari)/3;
     luas=4*phi*jari*jari;
     cout<<endl;
     cout<<"Volume bola adalah:"<<volume;
     cout<<endl;
     cout<<"Luas bola adalah:"<<luas;
    
    
    return 0;
   
}


 
2.) RAPTOR

Share this

Related Posts

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer