# Task II: Default Features ## Loan Payment Calculator ```gherkin= Feature: Loan Payment Calculator In order to determine how much to pay per period based on account balance As a registered user I should be able to view the amount to pay per period Scenario: User calculates loan payment Given the user has a loan And has entered the amount borrowed, interest rate, repayment period and frequency When the user clicks calculate Then the amount needed to be paid per period is calculated and displayed ``` The calculator allows customers to figure out how much they have to pay per period to repay their loans to the bank. The user should be able to input the amount borrowed, interest rate, repayment period and frequency. The output is then the amount needed to be paid per period for a fixed rate loan payment and the total interest at the end of the loan; ## Automated Interest Credit ```gherkin= Feature: Automated Interest Credit Interest is added daily to saving and chequing accounts. Interest rate is system configurable and should be distinct between account types. Scenario: Daily interest accumulation Given 24 hours has passed And interest rates have been configured When 24 hours have passed Then interested is added to the account balance of all savings and chequing accounts ``` A scheduled job to be run daily against Savings and Chequing accounts in order to add interest earned that day to the account’s balance. The yearly interest rate should be a system configuration and should be distinct between the two account types but the same for all users;