leo/examples/interest/README.md
2022-08-08 16:51:37 -07:00

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.