cout<<"This program determines volume of a sphere and a hemisphere."<<endl;
getRadius(radius);
volSphere(radius,s);
volHemisphere(s,h);
print(s,h);
return 0 ;
void print(double s, double h)
{
cout<<"volume of sphere is"<<s<<endl;
cout<<"volume of hemi is"<<h<<endl;
}
output error is:
unresolved external symbol "void __cdecl volHemisphere(double &,double)" (?
volHemisphere@@YAXAANN@Z) referenced in function _main
unresolved external symbol "void __cdecl getRadius(double)" (?getRadius@@YAXN@Z) referenced in function _main