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

x=[1491011235]
y=5
ct1=1
ct2=1;
while ct18
if x(ct1)>y
z(ct2)=x(ct1)
ct21=ct2+1
end
ct1=ct1+1
end
How many elements doez have?
3
8
4
5
6
 x=[1491011235] y=5 ct1=1 ct2=1; while ct18 if x(ct1)>y z(ct2)=x(ct1) ct21=ct2+1 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!