maha khan
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) || isempty(limit) limit = 21; end if age>21 too_young=fals...
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) || isempty(limit) limit = 21; end if age>21 too_young=fals...
4 years 前 | 0