# data[].attributes.headline
Nor azril bt mohd ghazali(d1067981), Nuraini bt mohd rani (d107989)

# data[].attributes.subject
Nor azril bt mohd ghazali(d1067981), Nuraini bt mohd rani (d107989)

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

using namespace std;

float kiraIsipadu3(float, float);

int A,B

float vSphere, vCone, totalVolume[5];

const PI = 3.142;

int main() {

cout<<"Enter the value of radius : "<<endl;

cin>>A;

cout<<"Enter the value of height : "<<endl;

cin>>B;

for(i=0; i<=5; i++)

{

totalVolume[i] = kiraIsipadu3;

cout<<totalVolume[i];

return 0;

}

float kiraIsipadu3(int radius, int height );

{

float vSphere, vCone, totalVolume;

vSphere = ((4/3)*PI*A*A*A)2;

vCone = (PI*A*A*B)/3;

totalVolume = vSphere + vCone;

return vSphere + vCone;

}

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

using namespace std;

const PI=22/7;

float r[5];

float h[5];

float volume[5];

float CalVolume3(float r[5],float h[5]);

int i;

int main()

{

for(i=0;i<5;i++)

{

cout<<"Insert the height : ";

cin>>h[i];

cout<<"Insert the radius:";

cin>>r[i];

}

cout<<The volume is ="<<volume[i]<<endl;

for(i=0;i<5;i++)

float CalVolume3(float r[5],float h[5]);

{

volume[5]=(pi*r[5]*r[5]*h[5]/3)+((4/3)*PI*r[5]*r[5]*r[5]);

return volume[5];

}

# data[].attributes.body
(D20141067988)

#include<iostream>

using namespace std;

double r,h;

floatKiraIsipadu3(float jumlahisipadu[5]);

double sphere;

double cone;

double hemisphere;

const Pi=3.147;

int main()

{

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

cin>>r;

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

cin>>h;

for(int i=0;i<=5;i++)

{

jumlahisipadu[i]=float

KiraIsipadu3(float jumlahisipadu[5]);

cout<<"Jumlah isipadu pepejal adalah:"jumlahisipadu[i]<<endl;

}

return 0;

}

float KiraIsipadu3(jumlahisipadu[5]) cone=Pi*(r*r)*(h/3);

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

hemisphere=sphere/2;

jumlahisipadu[i]=hemisphere+cone;

return hemisphere+cone;

}

# data[].attributes.body
D20142068689

#include<iostream.h>
using namespace std;
float kiraisipadu3(float_radius,float_height);

const double Pi=22/7;

int main()

{

float radius[5]

float height[5];

float isipadu[5];

float isipadu;

for(int i=0;i<5;i++)

{

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

cin>>r[i];

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

cin>>h[i];

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

}

float kiraisipadu(float,float)

{

float vsphere[i],vcone[i];

vsphere=4/3*22/7*r[i]*r[i]*r[i];

vcone=22/7*r[i]*r[i]*h[i]/3

total=vsphere[i]+vcone[i]

return total;

}

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

float kiraisipadu3(float_radius,float_height);

const double Pi=22/7;

int main()

{

float radius[5]

float height[5];

float isipadu[5];

float isipadu;

for(int i=0;i<5;i++)

{

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

cin>>r[i];

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

cin>>h[i];

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

}

float kiraisipadu(float,float)

{

float vsphere[i],vcone[i];

vsphere=4/3*22/7*r[i]*r[i]*r[i];

vcone=22/7*r[i]*r[i]*h[i]/3

total=vsphere[i]+vcone[i]

return total;

}

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

float kiraIsipadu(r,h) ;

const double PI=22/7 ;

int radius[5];

int height[5];

float total;

int main()

{

for(int i=0;i<5;i++)

{

cout<<"Enter the radius of sphere"; cin>>radius;

cout<<"Enter the heightof hemisphere"; cin>>height;

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

}

float kiraIsipadu(float r,float h) sphere=(4/3)*PI*(r*r*r); cone=(PI*(r*r)*h/3); total=sphere + cone; return total;

}

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

using namespace std;

float=kiraIsipadu3(float I[],size)

main()

{

cout<<"enter the value of radius";

cin>>radius;

cout<<"enter the value of height";

cin>>height;

for(int=0;int<5;i++)

}

totalVolume[i]=kiraIsipadu3;

cout<<totalVolume[i];

cin>>radius>>height;

Volume[i]=(4/3*r*r*r/2)+(pi*r*r*h*/3)

}

total=kiraIsipadu(Volume,5);

float=kiraIsipadu3(float I[],size)

{

float sum=o;

for(int=0;int<5;i++)

{

sum 1=I[i];

}

return sum;

}

# data[].attributes.body
#include <iostream.h>
float kiraisipadu3(float, float);
int main()
{
float height[5];
float radius[5];
float sphere[5];
float cone[5];
float volume[5];
for(int i=0;i<5;i++)
{
cout<<"Enter radius of sphere: ";
cin>>radius[i];
cout<<"Enter height of hemisphere: ";
cin>>height[i];
cout<<"Total volume is: "<<kiraisipadu3(radius, height);
}
}
float kiraisipadu3(radius, height)
{
float sphere;
float cone;
sphere[i]=(4/3)*(22/7)*(radius[i]*radius[i]*radius[i]);
cone[i]=((22/7)*(radius[i]*radius[i])*height[i])/3;
volume[i]=sphere[i]+cone[i];
}
return volume;

# data[].attributes.headline
Niveytha                                                                            

# data[].attributes.subject
Niveytha                                                                            

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

floatkiraIsipadu(float jejari, float tinggi);

double PI=(22/7);

int main()

{

float jejari[5];

float tinggi[5];

int pepejal[5];

for(int i=0;i<5;i++);

{

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;

hemisphere[i]: (4/3)*(22/7)*j*j*j;

cone[i]:((22/7)*t*j*j)/3;

Jumlah isipadu[i]=hemisphere[i] +cone[i]<<endl;

}

{

for(int i=0;i<5;i++);

jumlah=pepejal[i+1];

}

return jumlah();

}

# data[].attributes.body
#include<iostream.h> using namespace std float kiraIsipadu(j,) const double PI=22/7 int jejari[5]; int tinggi[5]; float total; int main() { for(int i=0;i<5;i++) { cout<<"Masukkan nilai jejari sfera"; cin>>jejari; cout<<"Masukkan nilai tinggi hemisfera"; cin>>tinggi; cout<<"Jumlah volume"<<kiraisipadu(r,h); } 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<iostream.h> using namespace std float kiraIsipadu(r,h) const double PI=22/7 int radius[5]; int height[5]; float total; int main() { for(int i=0;i<5;i++) { cout<<"Enter the radius of sphere"; cin>>radius; cout<<"Enter the heightof hemisphere"; cin>>height; cout<<"Total volume"<<kiraisipadu(r,h); } float kiraIsipadu(float r,float h) sphere=(4/3)*PI*(r*r*r); cone=(PI*(r*r)*h/3); total=sphere + cone; return total; }

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

# 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 kiraIsipadu3(float volume_combined_solid[5]); const float PI = 22/7; float r; float h;

int main() { cout << "Please put radius in cm :"; cin >> r; cout << "Please put height in cm :"; cin >> h; cout << "Volume of solid :" << kiraIsipadu3(float volume_combined_solid[5]) << endl; for(int i=0; i<5; i++) { volume_combined_solid[i] = kiraisipadu3(float totalIsipadu[5]); cout << "Volume_of_solid :" << volume_combined_solid[i] << endl; } return 0; } float kiraisipadu3(volume_combined_solid[5])

{

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[i] = volume_cone + volume_hemiphere; return volume_combined_solid; }

# data[].attributes.body
#include<iostream.h> double kira_isipadu3(); double pi=3.142; void main() { double totalv; totalv=kira_isipadu3(); cout<<"jumlah 5 jenis isipadu ialah:"; cout<<totalv; } double kira_isipadu3() { double solid[5]; double total; int i; for(i=0;i<5;i++) { cout<<"sila masukkan isipadu pepejal:"; cin>>solid[i]; } for(i=0;i<5;i++) { cout<<"isipadu pepejal yang dimasukkan ialah:"; cout<<solid[i]<<endl; } for(i=0;i<5;i++) {total=solid[i+1];} return total; }

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

float pi=22/7;

float radius[5];

float height[5];

float volume;

float kiraIsipadu3 (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 ()
{

for(int x=0; x<5; x++){

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

cin>>radius[x];

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

cin>>height[x];

kiraIsipadu3 (radius, height);

}

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

}

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

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

# data[].attributes.body
main();

floar r,h,volume[5]=(0,0,0,0,0);

for ( int i=0 ,i,5,i<++)

{

cin>>r(i);

cin>>h(i);

}

cout<<kiraisipadu3(r,h,volume)

}

float kiraisipadu3( float radius[], float height[],float volume[])

float totalVolume = 0.0

{

for (int i = 0, i<5,i++)

{

volume(i)= (4/3*pi*radius[i]*radius[i]*radius[i])+(pi*radius[i]*radius[i]*height[i])

totalVolume= totalVolume+volume[i];

}

return totalVolume;

}

}

# data[].attributes.body
#include<iostream.h> float kiraIsipadu3(float r,float h); int main() { float r[5]; float h[5]; for(int i=0;i<5;i++) { cout<<"Masukkan nilai jejari:"; cin>>r[i]; cout<<"Masukkan nilai tinggi:"; cin>>h[i]; } cout<<"Isipadu:"<<kiraIsipadu3(r,h)<<endl; } float kiraIsipadu3(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 countvolume3 (int radius,int height) ;

using namespace std ;

constant int PI = 22/7

int main ()

{

int radius;

int height;

float total = volume3 (radius,height);

for(i=0; i<=5; i++)

cout<< "volume3 :" <<total;

cout<< " count radius of the cone? ";

cin<<int radius;

cout<< " count height of the cone? ";

cin<<int height;

}

float volume3 (int radius,int height)

{

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

total = cone;

return = total;

}

#include<iostream.h>

float countvolume3 (int radius,int height) ;

using namespace std ;

constant int PI = 22/7

int main ()

{

int radius;

int height;

float total = volume3 (radius,height);
for(i=0; i<=5; i++)
cout<< "volume3 :" <<total;

cout<< " count radius of the hemisphere? ";

cin<<int radius;

cout<< " count height of ? ";hemisphere

cin<<int height;

}

float volume3 (int radius,int height)

{

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

total = hemisphere;

return = total;

}

# data[].attributes.body
#include <iostream>
using namespace std;<div>
float kiraisipadu3(radius, height);

int main()
{
    int height[5];
    int radius[5];
    float sphere[5];
    float cone[5];
    float volume[5];
    
    for(int i=0;i&lt;5;i++)
    {
    cout&lt;&lt;"Enter radius of sphere: ";
    cin&gt;&gt;radius[i];
    cout&lt;&lt;"Enter height of hemisphere: ";
    cin&gt;&gt;height[i];
    cout&lt;&lt;"Total volume is: "&lt;&lt;kiraisipadu3(radius, height);
    }
}

    float kiraisipadu(radius, height)
    {
          float sphere;
          float cone;
          
            sphere[i]=(4/3)*(22/7)*(radius[i]*radius[i]*radius[i]);
            cone[i]=((22/7)*(radius[i]*radius[i])*height[i])/3;
            volume[i]=sphere[i]+cone[i];
    }
    
    return volume;
}</div>

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

# data[].attributes.body
#include <iostream> using namespace std; float kiraisipadu3(float r,float h); float PI = 22/7; float h; float r; int main() { int r; int h; float total = kiraisipadu3(float r,float h); for(inti=0;i<5;i++) cout <<"Please enter radius : "; cin >>r; cout <<"Please enter height : "; cin >>h; cout <<"The volume : " <<kiraisipadu3(float r,float h); } float kiraisipadu3(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.headline
NURNADIRAH OTHMAN, NUR KHAIRI SHARMIELA , NURADILA SAKARANI

# data[].attributes.subject
NURNADIRAH OTHMAN, NUR KHAIRI SHARMIELA , NURADILA SAKARANI

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

using namespace std;

float kiraIsipadu3 (float j , float t);

float jumlah;

float pi =22/7;

int main()

{

float j [5];

float i [5];

float jumlah=kiraIsipadu3 (float j, float t)[5] ;

for(i=0 ;i<5 ;i++);

{

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

cin>>j[i];

cout<<”Sila masukkan nilai

tinggi:”<<endl;

cin>>t[i];

cout<<”jumlah:”<<kiraIsipadu3(float j[i], float t[i]);

}

float kiraIsipadu3 ( float j[5], float t[5]);

{

float jumlah;

float Separabulatan;

float Kon;

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

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

jumlah=Kon + Separabulatan;

return Kon + Separabulatan;

}

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

using namespace std;

void kiraIsipadu(double);
void kiraIsipadu2(double);
void kiraIsipadu3[5](double);
int r,h;
int main ()

{

cout<<"Volume of Sphere and Cone :"<<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: ";
cin>>r;
cout<<"enter the value of height: ";
cin>>h;
vsphere=4/3*PI*radius*radius*radius;
vcone=PI*radius*radius*height/3;

return vsphere + vcone;
}
float kiraIsipadu3[5](doublePI, double radius, double height)
{
vsphere=4/3*PI*radius*radius*radius;
vcone=PI*radius*radius*height/3;
cout<<"The volume for 5 types of solid: "<<kiraIsapadu3<<endL;

return 0;
}

# data[].attributes.body
#include <iostream> using namespace std; float kiraIsipadu3(float, float); int r; int h; float vSphere, vCone, totalVolume[5]; const PI = 3.142; int main() { cout<<"Enter the value of radius : "<<endl; cin>>r; cout<<"Enter the value of height : "<<endl; cin>>h; for(i=0; i<=5; i++) { totalVolume[i] = kiraIsipadu3; cout<<totalVolume[i]; return 0; } float kiraIsipadu3(int radius, int height ); { float vSphere, vCone, totalVolume; vSphere = ((4/3)*PI*r*r*r)2; vCone = (PI*r*r*h)/3; totalVolume = vSphere + vCone; return vSphere + vCone; }

# data[].attributes.body
#include <iostream> using namespace std; double r,h; float kiraisipadu3(float totalIsipadu[5]); double sphere; double cone; double hemisphere; const Pi=3.147; int main() { cout<<"Please Enter The Radius"<<endl; cin>>r; cout<<"Please Enter The Height"<<endl; cin>>h; for(int i=0;i<=5;i++) { totalIsipadu[i]=float kiraisipadu3(float totalIsipadu[5]); cout<<"The Total Volume Of The Solid is :"<<totalIsipadu[i]<<endl; } return 0; } float kiraisipadu3(totalIsipadu[5]) cone=Pi*(r*r)*(h/3); sphere=(4/3)*Pi*(r*r*r); hemisphere=sphere/2; totalIsipadu[i]=hemisphere+cone; return hemisphere+cone; }

# 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);

for(int i = 0;i<10;i++)

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;

}