CircleClass Function

I am confused about how to continue with this function. I'm not asking for the code just a bit of direction as to how I should continue.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include<iostream.h>
#include<lvp\string.h>
#include"StringUtility.h"
#include<lvp\CIRCLE.h>
#include<math.h>
int main()
{
	CircleClass tire(17);
	cout<<getVolume();//don't know what to put here
	return(0);
}
//----------------------------------------------------------------------------
double getVolume(const CircleClass &obj)
/*Determines the volume of the sphere based upon the Circle object parameter*/
{
	int Radius;
	obj.SetRadius(Radius);
	return (double(4/3)*double(3.14*(pow(Radius,3))));
}
Dont double post. People see your post in the beginner function.
Sorry, I wanted to delete the other post but I don't know how or if I even can.
Topic archived. No new replies allowed.