/*Rewrite the given program using function overloading*/
/* Rewrite the given program using the concept of function overloading.*/#includeusing namespace std;int findProductInt(int a, int b){ return (a*b);}double findProductDouble(double a, double b){ return (a*b);}int findProductThreeInt(int a, int b, int c){ return (a*b*c);}double findProductThreeDouble(double a, double b, double c){ return (a*b*c);}int main(){ int a,b,c; double x,y,z; cout<"enter three="">"enter><> cin>>a>>b>>c; cout<"enter three="">"enter><> cin>>x>>y>>z; cout<"product of two integers a and b ="< cout<<"product of three integers a,b and c ="< cout<<"product of two double x and y ="< cout<<"product of three double x,y and z ="< return 0;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here