mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
48a1f0590b
* Add assert statements to AST * Add support in passes * Add parser support * Add tyc support * Add support for assert statements in the remaining passes * Fix examples, tests, and regen expectations * Fmt * Regen expectations |
||
---|---|---|
.. | ||
inputs | ||
src | ||
.gitignore | ||
program.json | ||
README.md |
Calculating Interest
This program provides utilities for calculating interest over a fixed or bounded number of iterations.
Building the Program
To compile this program, run:
leo build
Running the Program
To run this program, run:
leo run <function_name>
where <function_name>
is one of the following:
fixed_iteration_interest
bounded_iteration_interest
Be sure to update inputs/interest.in
with the desired inputs.