mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
23 lines
466 B
Markdown
23 lines
466 B
Markdown
# 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:
|
|
```bash
|
|
leo build
|
|
```
|
|
|
|
## Running the Program
|
|
|
|
To run this program, run:
|
|
```bash
|
|
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.
|