...
Code Block | ||
---|---|---|
| ||
function result = evenNumber(tallA)
result = (wholeNumber(tallA/2));
% eller
result = (mod(tallA,2) == 0);
end
|
...
Code Block | ||
---|---|---|
| ||
function result = compareNumbers(tallA, tallB) result = (~(tallA>tallBtallA > tallB) && ~(tallA<tallBtallA < tallB)); end |