//What's Wrong with this code // Program to check volume of cuboid and and volume of sphere (Overloaded Functions)
#include<iostream>
using namespace :: std;
int volume(int rr)
{
return(4/3*rr*rr*rr);
}
int volume (int ll,int bb,int ww)
{
return(ll*bb*ww);
}
int main()
{
int s,c;
s=volume(8);
c=volume(5,7,6);
cout<<" Volume of sphere = "<<s<<endl;
cout<<"Volume of cuboid = "<<c<<endl;
return 0;
}