What is the output of the following codes? a. function answer =foo(a, b, c) answer = a; if b > answer answer = b end if c >answer answer = c; end end b. a = [ 3 6 2 9 4] c = 1 e = [] for i =a e(c)= ( a(c) + 1 ); c = c + 1; end disp (e)
Expert Answer
An answer will be send to you shortly. . . . .