Let a=6 and as 6 = 2*3 which means 6 is multiple of 3;
return true if a is multiple of 3,otherwise false.
Nine additional test cases have been added and the problem is set to be rescored.
Size: 8 !!!!, Can i see your answer?
It only works because the test suite has one example, and the answer is false. This won't work if the test suite has any examples that would return true.
How to find the position of an element in a vector without using the find function
Increment a number, given its digits
Set some matrix elements to zero
Matlab Basics - Rounding I
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office