Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
function work = untitledFunction7untitledFunction(A)

	x = randi(9, 1, 20);

	expenditure = sort(x);

	jumpingDuck = expenditure >= A;

	work = sum(jumpingDuck);

end