Wednesday, 27 August 2014

Volume of Cube solution in cpp

Leave a Comment

//Volume of Cube side3
#include<iostream>
#include<math.h>
using namespace std;
static double pi=3.1415926535;
int main()
{
double side,Ans;
cout<<"Enter Side = ";
cin>>side;
Ans=pow(side,3);
cout<<"Volume of Cube = "<<Ans<<endl;
system("pause");
}
If You Enjoyed This, Take 5 Seconds To Share It