Feeds
已回答
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
function a = under_age(age,limit) if nargin < 2 limit = 21; end a = age < limit; end
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
function a = under_age(age,limit) if nargin < 2 limit = 21; end a = age < limit; end
5 years 前 | 0