a = rand(1, 10);index = 1;while index <= size(a, 2) if a(index) > .7 breakend; a(index) index = index + 1;end;
MATLAB: Modify the following program in order to get rid of the break statement without affecting the behavior of the program
break statement
Best Answer