# data[].attributes.headline
nor azril bt mohd ghazali ( d1067981) , nuraini bt mohd rani ( d1067989

# data[].attributes.subject
nor azril bt mohd ghazali ( d1067981) , nuraini bt mohd rani ( d1067989

# data[].attributes.body
#include <iostream.h>

float kiraIsipadu2(float radius, float height); float PI = 22/7;

float height;

float radius;

float volume;

int main()

{

cout<< " please enter the radius:";

cin>> radius;

cout<< " please enter the height:";

cin>> height;

cout<< " the volume is :"<<kiraIsipadu2(radius,height);

}

float kiraIsipadu2(float radius, float height) {

float volume, hemisphere, cone;

cone = ((PI*(radius*radius)*height); hemisphere = ((4/3*PI(radius*radius*radius))/2;

volume = cone+hemisphere;

return volume;

}

# data[].attributes.body
D20141067988

#include<iostream>

using namespace std;

float KiraIsipadu2();

int r,h;

float sphere,cone,jumlahisipadu,hemisphere;

const int Pi=3.147;

int main()

{

cout<<"Masukkan nilai radius"<<endl;

cin>>r;

cout<<"Masukkan nilai ketinggian"<<endl;

cin>>h;

jumlahisipadu=KiraIsipadu2();

cout<<"Jumlah isipadu pepejal ialah"<<jumlahisipadu;

return 0;

}

float KiraIsipadu2();

{

sphere=(4/3)*Pi*(r*r*r);

hemisphere=sphere/2;

cone=Pi*(r*r)*(h/3)

jumlahisipadu=hemisphere+cone;

return hemisphere+cone;

}

# data[].attributes.body
#include<iostream>

float CalVolume(float radius,float height);

float PI=22/7;

float height;

float radius;

float volume;

int main()

{

cout<<"Insert the radius:";

cin>>radius;

cout<<"Insert the height:";

cin>>height;

cout<<"the volume of solid is :"<<CalVolume(radius,height);

}

float CalVolume(float radius, float height)

{

float volume,hemisphere,cone;

cone=((PI*(radius*radius)*height);

hemisphere=((4/3*PI(radius*radius*radius))/2;

volume=cone+hemisphere;

return volume;

}

# data[].attributes.body
#include <iostream.h>

float kiraIsipadu2(float radius, float height); float PI = 22/7;

float height;

float radius;

float volume;

int main()

{

cout<< " please enter the radius:";

cin>> radius;

cout<< " please enter the height:";

cin>> height;

cout<< " the volume is :"<<kiraIsipadu2(radius,height);

}

float kiraIsipadu2(float radius, float height) {

float volume, hemisphere, cone;

cone = ((PI*(radius*radius)*height); hemisphere = ((4/3*PI(radius*radius*radius))/2;

volume = cone+hemisphere;

return volume;

}

# data[].attributes.body
D20142068689

)#include<iostream.h>

using namespace std;

float kiraisipadu2(float_radius,float_height);

const double Pi=22/7;

int main()

{

float radius=8

float height=15;

float isipadu;

cout<<”enter the value of radius”<<endl<<;

cin>>r;

cout<<”enter the value of height”<<endl<<;

cin>>h;

cout<<"total volume<<kiraisipadu2(radius,height);

}

float kiraisipadu(float,float)

{

float vsphere,vcone;

vsphere=4/3*22/7*r*r*r;

vcone=22/7*r*r*h/3

total=vsphere+vcone

return total;

}

# data[].attributes.body
#include <iostream.h>

float kiraIsipadu2(float radius, float height);

float PI = 22/7;

float height;

float radius;

float volume;

int main()

{

cout<< " please enter the radius:";

cin>> radius;

cout<< " please enter the height:";

cin>> height;

cout<< "the volume is :"<<kiraIsipadu2(radius,height);

}

float kiraIsipadu2(float radius, float height)

{

float volume,hemisphere,cone;

cone = ((PI*(radius*radius)*height);

hemisphere=((4/3*PI(radius*radius*radius))/2;

volume= cone+hemisphere;

return volume;

}

# data[].attributes.body
#include <iostream> using namespace std ;

float kiraIsipadu2(float radius, float height);

float PI = 22/7; float height; float radius;

float volume; int main() { cout<< " please enter the radius:"; cin>> radius; cout<< " please enter the height:"; cin>> height; cout<< "the volume is :"<<kiraIsipadu2(radius,height); }

float kiraIsipadu2(float radius, float height) { float volume,hemisphere,cone; cone = ((PI*(radius*radius)*height); hemisphere = ((4/3*PI(radius*radius*radius))/2; volume= cone+hemisphere; return volume; }

# data[].attributes.body
#include<iostream.h> #include<iomanip.h> #include<cmath.h> float KiraIsipadu (float r, float h); const double Pi = 22/7; void main () { float radius; float height; float volume; cout << "Enter the value of radius: "; cin >> radius; cout << endl; cout << "Enter the value of height: "; cin >> height; cout << endl; cout << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl; volume = KiraIsipadu ( radius, height); cout << "Isipadu : " << volume << endl; } float KiraIsipadu (float r, float h) { float volume; volume = ((Pi*r*r*h)/3 )+ (4/3*r*r*r); return volume; }

# data[].attributes.body
#include<iostream.h>

float kiraIsipadu(float jejari, float tinggi);

const double PI: 22/7;

int main()

{

float jejari;

float tinggi;

float jumlah;

cout<<'Masukkan nilai jejari:';

cin>>jejari;

cout<<'masukkan nilai tinggi:';

cin>>tinggi;

cout<<'Jumlah isipadu ;'<<kiraIsipadu(jejari,tinggi);

}

{

float kiraIsipadu(float jejari, float tinggi);

float jumlah isipadu,hemisphere,cone;

hemiphere =(4/3)*(22/7)*j*j*j;

cone =((22/7)*j*j*t)/3;

Jumlah isipadu: hemisphere +cone;

return jumlah();

}

# data[].attributes.body
#include<iostream.h>

float kiraIsipadu(float r,float h);

const double pi:22/7

int main()

{

float jejari;

float tinggi;

float jumlah;

cout<<"masukkan nilai jejari";

cin>>jejari;

cout<<"masukkan nilai tinggi";

cin>>tinggi;

cout<<"jumlah isipadu"<<kiraIsipadu(float r,float h);

}

float kiraIsipadu(float r,float h);

{

float jumlah;

kon;

kon =pi*r*r*h/3

hemisfera = 4/3*pi*r*r*r

jumlah isipadu=kon + hemisfera

return jumlah();

}

# data[].attributes.body
#include <iostream>
using namespace std;
float kiraIsipadu2(float rad, float heig);

int main()
{
float rad,heig;

cout<<"Enter Radius\n";
cin>>rad;
cout<<"Enter Height\n";
cin>>heig;
cout<<"Volume Of The Cone\n"<<kiraIsipadu2(rad, heig);
return 0;
}

float kiraIsipadu2(float r, float h)
{
float v=22/7*r*r*h/3;
return v;
}

# data[].attributes.body
#include <ionstream>

void kiraIsipadu(double);

void kiraIsipadu(double);

int r,h;

int main ( )

{

cout<<"Volume of Sphere and sphere:" <<kiraIsipadu (22/7, 8, 15);

}

float kiraIsipadu (doublePI, double radius, double height)

{

vsphere=4/3*PI*radius*radius*radius;

vcone=PI*radius*radius*height/3

return vsphere + vcone;

}

float kiraIsipadu2 (doublePI, double radius, double height)

{

cout<<"enter the value of radius";

cout<<"enter the value of height";

cin>>h;

vsphere = 4/3*PI*radius*radius*radius

vcone=PI*radius*radius*height/3;

return vsphere + vcone

}

# data[].attributes.body
#include<iostream.h> using namespace std float kiraIsipadu(float j,float t) const double PI=22/7 float jejari; float tinggi; int main() { cout<<"Masukkan nilai jejari"; cin>>jejari; cout<<"Masukkan nilai tinggi"; cin>>tinggi; float kiraIsipadu(float j,float t) { float Vsfera,Vkon; Vsfera=(4/3)*PI*(j*j*j); Vkon=(PI*(j*j)*t/3); jumlah=Vsfera + Vkon; return jumlah; }

# data[].attributes.body
#include<iosteam>

float kiraisipadu(float, float);

const double pi=22/7;

int main(){

float radius;

float height;

float total;

cout<<"Enter your radius:";

cin>>radius;

cout<<"Enter your height:";

cin>>height;

cout<<"Total volume:"<<kiraisipadu(r,h);

}

float kiraisipadu(float r, float h);

{

float total, Vsphere, Vcone;

Vsphere=(4/3)*(22/7)*r*r*r;

Vcone=(pi*r*r*h)/3);

total=Vsphere+Vcone;

return total;

}

# data[].attributes.body
#include<iostream.h> using namespace std float kiraIsipadu(float r,float h) const double PI=22/7 float radius; float height; int main() { cout<<"Enter the radius"; cin>>radius; cout<<"Enter the height"; cin>>height; float kiraIsipadu(float r,float h) { float Vsphere,Vcone; Vsphere=(4/3)*PI*(r*r*r); Vcone=(PI*(r*r)*h/3); total=Vsphere + Vcone; return total; }

# data[].attributes.body
#include<iostream.h>

float kiraIsipadu(float jejari, float tinggi);

const double PI: 22/7;

int main()

{

float jejari;

float tinggi;

float jumlah;

cout<<'Masukkan nilai jejari:';

cin>>jejari;

cout<<'masukkan nilai tinggi:';

cin>>tinggi;

cout<<'Jumlah isipadu ;'<<kiraIsipadu(jejari,tinggi);

}

{

float kiraIsipadu(float jejari, float tinggi);

float jumlah isipadu,hemisphere,cone;

hemiphere =(4/3)*(22/7)*r*r*r;

cone =((22/7)*r*r*h)/3;

Jumlah isipadu: hemisphere +cone;

return jumlah();

}

# data[].attributes.headline
AMIRULRAFIQ KAMARUDDIN (D069299) &MOHD IQBAR (D069423)

# data[].attributes.subject
AMIRULRAFIQ KAMARUDDIN (D069299) &MOHD IQBAR (D069423)

# data[].attributes.body
#include <iosteram.h> float Volume(float,float); float R; float H; float V;

int main()

{

cout<<"input radius:"<<endl;

cin>>R;

cout<<"input height";

cin>>H;

Volume2(R,H);

cout<<"Volume"<<Volume2(R,H);

}

float Volume2(R,H0)

{

float volume, hemisphere, cone;

cone=((22/7)*(R*R)*H);

hemisphere=((4/3)*(22/7)*(R*R*R))/2;

volume=cone+hemisphere;

return volume;

}

# data[].attributes.headline
Nur Qistina binti Remlay     D20141067977     28 September 2015

# data[].attributes.subject
Nur Qistina binti Remlay     D20141067977     28 September 2015

# data[].attributes.body
#include<iostream.h> float kiraIsipadu2(float r,float h); const float PI = 22/7; void main() { float radius,float height; cout << "Please put radius in cm :"; cin >> radius; cout << "Please put height in cm :"; cin >> height; cout << "Volume of solid :" << kiraIsipadu2(float r,float h) << endl; } float kiraIsipadu2(float r,float h) { float volume_cone; float volume_hemisphere; float volume_combined_solid; volume_cone = ((22/7)*(r*r)*(h/3)); volume_hemisphere = ((4/3)*(22/7)*(r*r*r))/2; volume_combined_solid = volume_cone + volume_hemiphere; return volume_combined_solid; }

# data[].attributes.body
#include<iostream.h> #include<math.h>

double kira_isipadu();

double kira_isipadu2();

double pi=3.142;

void main()
{

double volume,vhem,vcon;
vhem=kira_isipadu();
vcon=kira_isipadu2();
volume=vhem+vcon;
cout<<"isipadu gabungan sebuah kon dan sebuah hemisfera ialah:"<<volume; }

double kira_isipadu() {

double pi=3.142;
double vhemisfera;
vhemisfera=(4/3*pi*8*8*8)/2;

return vhemisfera; }

double kira_isipadu2()
{float height;float radius;float nilai;double vcone;
cout<<"plez enter cone height:";
cin>>height;
cout<<"plez enter cone radius:";>>radius;
nilai=pow(radius,2);
vcone=pi*nilai*height/3;return vcone;
}

# data[].attributes.body
#include<iostream.h> float kiraIsipadu2(float r,float h); int main() { float r; float h; cout<<"Masukkan nilai jejari:"; cin>>r; cout<<"Masukkan nilai tinggi:"; cin>>h; cout<<"Isipadu:"<<kiraIsipadu2(r,h)<<endl; } float kiraIsipadu2(float r,float h) { float jumlah,hemisphere,cone,PI=22/7; hemisphere=((4/3)*PI*r*r*r); cone=(PI*r*r*h)/3; jumlah=hemisphere+cone; return jumlah; }

# data[].attributes.body
#include<iostream.h> float kiraIsipadu2(float jejari,float tinggi); const float PI=22/7; void main() { float j,t; cout<<"Sila masukkan nilai jejari(cm): "; cin>>j; cout<<"Sila masukkan nilai tinggi(cm): "; cin>>t; cout<<"Jumlah Isipadu: "<<kiraIsipadu2(j,t)<<endl; } float kiraIsipadu2(float jejari,float tinggi) { float kon,hemisphera,jumlah; kon=(4/3)*PI*jejari*jejari*jejari; hemisphera=(PI*jejari*jejari*tinggi)/3; jumlah= kon+hemisphera; return jumlah; }

# data[].attributes.body
// Haziq Bin Mohd Husaimi
// D20142069420
#include <iostream>
using namespace std;

float pi=22/7;

float radius;

float height;

float volume;

float kiraIsipadu(float, float);

float kiraIsipadu2 (radius, height)
{
float volume, solid1, solid2;
solid1= (4/3*pi*radius*radius*radius)/2 ;

solid2= (pi*radius*radius*height);

volume=solid1+solid2;
return volume;
}

int main ()
{

cout<< “Please Input Radius”<<endl;

cin>>radius;

cout<< “Please Input Height”<<endl;

cin>>height;

kiraIsipadu2 (radius, height);

cout<< “/nVolume For Two Solid Is:”<< kiraIsipadu(radius, height);

}

# data[].attributes.body
#include <iostream> #include <iomanip> using namespace std; const double PI=22/7; int main () { int r; int h; float VolSphere; float VolCone; float TotalVol; { cout <<"Enter the value of radius: " <<endl; cin >>r; //The volume of sphere VolSphere=(4/3)*(PI)*(r*r*r); } { cout <<"Enter the value of hight: " <<endl; cin >>h; //The volume of cone VolCone=(PI)*(r*r)*(h/3); } { //The total volume of sphere and cone TotalVol= VolSphere+VolCone; cout <<"The total volume is: " <<TotalVol; return TotalVol; } }

# data[].attributes.body
#include<iostream.h>

float countvolume2(float r , float h);

float totalvolume;

float pi =22/7;

int main ()

{

cout<<”enter value or radius:”<<endl;

cin>>r;

cout<<”enter value of height:”<<endl;

cin>>h;

volume2(float r, float h);

cout<<”totalvolume2:”<<(float r, float h);

}

floatvolume2 ( float r, float h);

{

float total;

float cone;

cone=(pi*(j*j)*t)/3;

total volume2= cone

return volume2;

}

# data[].attributes.body
#include <iostream> #include <iomanip> using namespace std; float kiraIsipadu2(radius,height) float hemisphere; float cone; float volume; int main () { float radius; float height; cout>>"please enter the radius"; cin<<radius; cout>>"please enter the height"; cin<<height; kiraIsipadu2(radius,height); cout>>"volume">>kiraIsipadu(radius,height); } float kiraIsipadu2(radius,height) { float hemisphere; float cone; float volume; hemipshere=(4/3)*pi*(r*r*r); cone=(pi*(r*r)*h)/3; volume=hemisphere+cone; return volume; }

# data[].attributes.body
#include <iostream> using namespace std; float kiraisipadu2(float r,float h); float PI = 22/7; float h; float r; float volume; int main() { cout <<"Please enter radius : "; cin >>r; cout <<"Please enter height : "; cin >>h; cout <<"The volume : " <<kiraisipadu2(float r,float h); } float kiraisipadu2(float r,float h) { float hsphere,cone; hsphere=(4/3)*PI*(r*r*r); cone=(PI*(r*r)*h/3); return hsphere + cone; }

# data[].attributes.body
#include <iostream.h>
float kiraisipadu2(float radius,float height);

void main()
{
float radius;
float height;

cout<<"Sila masukkan radius:";
cin>>radius;
cout<<"Sila masukkan tinggi:";
cin>>height;
cout<<"total isipadu:"<<kiraisipadu2(radius,height);

}

float kiraisipadu2(float radius,float height)
{
float p=22/7,sphere,cone,jumlah;

sphere=4/3*p*radius*radius*radius;
cone=p*radius*radius*height/3;
jumlah=sphere+cone;
return jumlah;

}

# data[].attributes.headline
FATIN AZIRA BINTI MD AB RANI (D20142068676)

# data[].attributes.subject
FATIN AZIRA BINTI MD AB RANI (D20142068676)

# data[].attributes.body
#include<iostream>
using namespace std;

float kiraIsipadu2();
float r,h;
float JumlahIsipadu;
const int Pi=22/7;

int main()

{

JumlahIsipadu=kiraIsipadu2();

cout<<"Sila Masukkan Radius:"<<endl;
cin>>r;

cout<<"Siala masukkan Height:"<<endl;
cin>>h;

return 0;
}

float kiraIsipadu2()

{

sphere=(4/3)*Pi*(r*r*r);
cone=Pi*(r*r)*h*(/3);
JumlahIsipadu=sphere+cone;

return ;

}

# data[].attributes.headline
NURNADIRAH OTHMAN ,  NUR KHAIRI SHARMIELA , NURADILAH SAKIRANI

# data[].attributes.subject
NURNADIRAH OTHMAN ,  NUR KHAIRI SHARMIELA , NURADILAH SAKIRANI

# data[].attributes.body
#include<iostream.h>

float kiraIsipadu2(float j , float t);

float jumlah;

float pi =22/7;

int main ()

{

cout<<”Sila masukkan nilai jejari:”<<endl;

cin>>j;

cout<<”Sila masukkan nilai tinggi:”<<endl;

cin>>t;

kiraIsipadu2(float j, float t);

cout<<”jumlah:”<<kiraIsipadu2(float j, float t);

}

float kiraIsipadu2 ( float j, float t);

{

float jumlah;

float Separabulatan;

float Kon;

Kon=(pi*(j*j)*t)/3;

Separabulatan=((4/3)*pi*(j*j*j)/2);

jumlah= Kon + Separabulatan;

return jumlah;

}

# data[].attributes.body
#include <iostream>

using namespace std;

float kiraisipadu2(float radius, float height);

const double pi=22/7;

int main()

{

float radius;

float height;

float volume=calculateVolume (radius, height);

cout<<"enter radius: ";

cin>>radius;

cout<<"enter height: ";

cin>>height;

cout<<"total volume is: "<<kiraisipadu2(radius, height);

}

float kiraisipadu2(radius, height)

{

float volumefsphere, volumeofcone;

volumeofsphere=(4/3)*pi*(radius*radius*radius);
volumeofcone=(pi*(radius*radius)*height/3);
totalvolume=volumeofsphere + volumeofcone;

return totalvolume;

}

# data[].attributes.body
#include <iostream.h> using namespace std; float pi=22/7; float isipadu2(float r,float h); float volume; float h; float r; int main() { cout<<"PLEASE ENTER THE HEIGHT : "; cin>>h; cout<<"PLEASE ENTER THE RADIUS :"; cin>>r; cout<<"VOLUME ="<<isipadu2(r,h); } float isipadu2(float r,float h) { volume=(pi*r*r*h/3)+(4/3*pi*r*r*r); return volume; }

# data[].attributes.headline
AMIRULRAFIQ KAMARUDDIN ( D069299) & MOHD IQBAR ( D069423)

# data[].attributes.subject
AMIRULRAFIQ KAMARUDDIN ( D069299) & MOHD IQBAR ( D069423)

# data[].attributes.body
#include<iostream.h>

float volume (int r,int h) ;

using namespace std ;

constant int PI = 22/7

int main ()

{

int r;

int h;

float total = volume (r,h);

cout<< "volume :" <<total;

cout<< " What is the radius of the cone? ";

cin<<int r;

cout<< " What is the height of cone? ";

cin<<int h;

}

float volume (int r,int h)

{

cone =(PI *r*r*h)/3;

total = cone;

return = total;

}

# data[].attributes.body
#include <iosteram.h>
float kiraisipadu(float,float);
float radius;
float height;
float volume;

int main(){

cout<<"input radius:"<<endl;

cin>>radius;

cout<<"\ninput height";

cin>>height;

kiraisipadu2(radius height,);

cout<<"\nvolume: "<<kiraisipadu(radius,height);
}

float kiraisipadu2(radius height,)
{
float volume,hemisphere,cone;

cone=((22/7)*(radius*radius*)*height);

hemisphere=((4/3)*(22/7)*(radius*radius*radius))/2;

volume=cone+hemisphere;
return volume;
}