diff options
Diffstat (limited to 'loans.h')
| -rw-r--r-- | loans.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,6 @@ #pragma once #include <stdlib.h> +#include <math.h> #include "contract.h" /**** BULLET LOAN ****/ @@ -11,3 +12,8 @@ void bullet_free(contract *c); contract *sl_init(int n, int d, float r, float P); float sl_update(contract *); void sl_free(contract *); + +/**** MORTGAGE ****/ +contract *mort_init(int n, int d, float r, float P); +float mort_update(contract *); +void mort_free(contract *); |
