leo/examples/interest
2022-10-03 11:22:37 -07:00
..
inputs [examples] Change 'period' to 'iteration'. 2022-08-08 16:51:37 -07:00
src Update examples to use transition keyword 2022-10-03 11:22:37 -07:00
.gitignore [example] Simple interest calculation. 2022-08-04 10:32:04 -07:00
program.json [example] Simple interest calculation. 2022-08-04 10:32:04 -07:00
README.md [examples] Change 'period' to 'iteration'. 2022-08-08 16:51:37 -07:00

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.