Answer:
ranforce = randi([0, 12]);
if (ranforce == 0)
disp('There is no wind')
else if(ranforce>0 && ranforce <7)
disp('There is a breeze')
else if(ranforce>6 && ranforce <10)
disp('This is a gale')
else if(ranforce>9 && ranforce <12)
disp('It is a storm')
else if(ranforce==12)
disp('Hello, Hurricane!')
end
Explanation:
<em>Replace all switch case statements with if and else if statements.</em>
<em>An instance is:</em>
<em>case {7,8,9}</em>
<em>is replaced with</em>
<em>else if(ranforce>9 && ranforce <12)</em>
<em>All other disp statements remain unchanged</em>
Answer:
Simple, really
Explanation:
3Rd one is pretty easy, all you have to do is read closely.
Answer: -1 usually represents infinity.
Explanation:
It would keep going forever and not be able to stop without manually stopping it.
Answer:
Cluster Column Charts.
Explanation:
Clustered column chart:-It displays multiple data series in separate vertical columns. Each series have the same axis labels.Clustered vertical columns thus allow direct comparison of multiple data series.When having three data series you can compare their heights also.So we conclude the answer is Cluster Column Charts.
Answer:
1. x - 6
2. p - ? = 7
i chose these equations because
a number - 6 = the weight of your backpack.
p - an unknown number without a substitute variable = slices of bread left.