Question: 3.4) Indicate which values will the variables x, y, z, w contain after the following code is done executing (6 points): var x = 2;
3.4) Indicate which values will the variables x, y, z, w contain after the following code is done executing (6 points): var x = 2; var y = 4; var w- 3; var z = 1; XY function calcMega (a,b,c) t var z = a + b; w = z; x =x+c; function calcSuper (a,b,c) ( x=a+b; x=1; b=b-1; calcMega ( 1, b, 3 ) ; /ft..^ = calcsuper (x, y, z); Answers: X
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
