Write a user-defined MATLAB function (named DivisibleByThree) that
takes one single-valued input argument and checks whether the input argument is divisible
by 3. If the input argument is divisible by 3, the function should return 1; otherwise, it returns
0.
Comments
Leave a comment