Question: What is output? double MyFct ( double a , double b ) { return a + b 2 . 0 ; } int main (

What is output?
double MyFct(double a, double b){
return a+b2.0;
}
int main()(
double x=3.0;
double y=5.0;
double z=8.0;
double t;
t=MyFct(x,y)
t=MyFct(t,z)
cout t endl;
return ;
}
 What is output? double MyFct(double a, double b){ return a+b2.0; }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!