A simple Leo abacus. In the inputs file provide two i32 values, as well as the operation that you want to convert to use on your inputs. For the operation choices, use 1 for addition, 2 for subtraction, 3 for multiplication, and 4 for division.
To compile this Aleo program, run:
leo build
To execute this Aleo program, edit the calculator.in
inputs file with your desired choices. Then, run:
leo execute calculate
Current limitations: no floats allowed! 🛟