-1

```
please forward the function to calculate the smallest and largest without using (if,while else) statements
Input three different integers: 13 27 14
Sum Average Product Smallest Largest
54 18 4914 13
#include<iostream>
using namespace std;
int main()
{
int x,y,z;
cin>>x>>y>>z;
cout<<"the sum is ="<<x+y+z<<endl;
cout<<" average is ="<<(x+y+z)/3<<endl;
cout<<" Product is ="<<x*y*z<<endl;
cout<<" smallest is="<<
return 0;
}
```