Mir Mahim
Followers: 0 Following: 0
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
4 years 前 | 0