leo/examples/interest/README.md
2024-01-15 15:45:08 -08:00

677 B

Calculating Interest

This program provides utilities for calculating interest over a fixed or bounded number of iterations.

Running the Program

To run this program, run:

leo run <function-name> <inputs>

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.

Executing the Program

To execute this program, run:

leo execute <function_name> <inputs>

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.