# Answer to Question #2131 in MatLAB | Mathematica | MathCAD | Maple for Jayesh

Question #2131

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.

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.

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.

## Comments

## Leave a comment