EricaHan21
7 students enrolled
(0 reviews)

//loan calculator
OUTPUT "Please enter the loan amount in dollars"
INPUT loanamount
OUTPUT "Enter the yearly interest rate %"
INPUT interest
OUTPUT "Please enter the loan period in months"
INPUT time

intpermonth = interest div 12
intmt = loanamount * intpermonth

inttotal = intmt * time

OUTPUT "The monthly payment is", intmt + (loanamount div 12)
OUTPUT "The total payment is", inttotal + loanamount

//

[Full Article]

Teacher

IELTS teacher

Course features

Rich Text(59)
Assignment(21)

New students