Implement a hexadecimal calculator for ios. . Requirements: The calculator should support 4 basic arithmetic operations: +
Fantastic news! We've Found the answer you've been seeking!
Question:
Implement a hexadecimal calculator for ios. .
Requirements:
The calculator should support 4 basic arithmetic operations: + - * and /
The calculator will operate on hexadecimal numbers, not decimal numbers
The calculator only needs to operate on unsigned integerls (i.e. UInt). You do not need to consider negative numbers or fractions.
The calculator should support the 16-digit hexadecimal numbers (i.e. The range of the numbers is from 0 to FFFF FFFF FFFF FFFF). Prevent the user from entering a number that is greater than FFFF FFFF FFFF FFFF.
The calculator should handle overflow and underflow gracefully. The app must not crash.
The calculator should handle division-by-zero error gracefully. The app must not crash. .
Posted Date: