Question: x = [ 1 4 9 1 0 1 1 2 3 5 ] ; y = 5 ; ct 1 = 1 ; ct

x =[1491011235];
y =5;
ct1=1;
ct2=1;
while ct1<=8
if x(ct1)<= y
z(ct2)= x(ct1)
ct2= ct2+1;
end
ct1= ct1+1;
end
How many elements does z have?
Group of answer choices
5
8
4
6
3

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!