Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the following function q35, what will the outputs in the command window be? Output 1: (2 points) 35. >clear >> edit q35 5>q35(3) >2435(4)
Given the following function q35, what will the outputs in the command window be? Output 1: (2 points) 35. >clear >> edit q35 5>q35(3) >2435(4) Output 1) >q35(-2) >q35(5) (Output 2) function q35(n) persistent ent disp(n) if isempty(cnt) cnt-0; end if n>=1 cnt-cnt+n else Output 2: (2 points) cnt cnt-n; end disp(cnt)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started