Jessica Trehan
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 too_young=under_age(age,limit) if nargin<2 limit=21; if age<limit too_young=true; else ...
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 too_young=under_age(age,limit) if nargin<2 limit=21; if age<limit too_young=true; else ...
4 years 前 | 0