karel
karel copied to clipboard
Bug in Task 2.2.1 and 2.2.2
Hello i finde some Bug in Task 2.2.1 and 2.2.2
The bug is that in the last column of binary numbers where 256 should be, there is no number if there is a beeper in the column.
I hope you can fix it
That is a conscious decision to demonstrate integer overflow:
Karel wants to add 1 to a byte. Karel wants to subtract 1 from a byte.
Bytes only go from 0 to 255. The leftmost beeper is the carry bit.