Question: [CLO-1] What is the output when the following code segment is executed? const double PI = 3.1416; const double D2R = PI/180.0; double f1,

[CLO-1] What is the output when the following code segment is executed?

 

[CLO-1] What is the output when the following code segment is executed? const double PI = 3.1416; const double D2R = PI/180.0; double f1, f2, f1 = f3, x=90, y = 4; sin (x*D2R) + y pow (y, 2) y + cos(x*D2R); sqrt (f1-1); 2 3 pow (f2, 0); cout

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 Programming Questions!