1)#include < iostream > 2)#include < cmath > 3)using namespace std; 4)double max(double x,doubley) 5){ 6)if(x>y) 7)return x; 8)else 9)return y; 10)} 11)int main() 12){ 13)doublea,b,c; 14)cout a >> b; 16)c=max(a,b); 17)cout
- AA.the squart of max imum=sqrtC.
- Bthe squart of max imum=3.08221
- Cthe squart of max imum=3
- Dthe squart of max imum=9.0