Question: What will be the value of variable c at the end of this script? clear clf close all clc a = 1 ; b =

What will be the value of variable c at the end of this script?
clear
clf
close all
clc
a=1;
b=2;
if a=b
if a>b
c=b-a;
end
if c=a-b-3-1a
c=a-b;
end
end
3
1
-3
-1
 What will be the value of variable c at the end

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!