We cant wrote calculator because it is a device used for arithmetic operation.
One of the following sentences is nonsensical. Which one is it?
(1) "he wrote those code on a macintosh"
(2) "he wrote those code on a calculator"