Problem 42339. ~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.
Solution Stats
Problem Comments
-
2 Comments
Carl Witthoft
on 6 Nov 2015
Several answers seem to think "*" isn't actually multiplication :-( . Follow the rules, folks!
Alfonso Nieto-Castanon
on 6 Nov 2015
see problem 242 for an example of how to disallow the use of specific characters (improving your testsuite is a better way to ask players to "follow the rules" of your problem in Cody)
Solution Comments
Show commentsProblem Recent Solvers73
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15632 Solvers
-
17874 Solvers
-
693 Solvers
-
Replace multiples of 5 with NaN
449 Solvers
-
Who has power to do everything in this world?
453 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!