I found this device the other day - it seems like a calculator, but the results it's giving me don't make any sense. Here, if I try this...
$6 + 3 = 38$
See! It doesn't make any sense at all. Should be nine. And this should be seven, right?
$2 - -5 = 37$
Nope. ... Both thirty something huh. It isn't always. I'll try again.
$4 \times -3 = 17$
And once more...
$4 \times -9 = 5$
I think this thing is broken. Any ideas?
If I entered $-2 \times 5$, what would the output be? Why?
I tried plugging is some more calculations. Also, the device reset or something before I started this, whatever that means. Anyways.
$24 + 3 = 6$
$-3 \times 1 = 9$
$-4 \div 2 = 2$
[No reset occurs between the main sequence and $-2 \times 5$ being entered in the puzzle itself]
Since the device is a computer, I added the computer-science tag.
[You don't need to know any computer stuff to work this out - but this might help guide you in the right direction.]