Giter VIP home page Giter VIP logo

credit-card-payment-calculator's Introduction

Credit-Card-Payment-Calculator

SPECIFICATION OF REQUIREMENTS


INPUT:

  1. outstanding balance
  2. monthly payment
  3. basic interest per year
  4. net income
  5. amount


OUTPUT:

  1. financial state
  2. the number of month
  3. total amount of interest


CONSTRAINTS:

  1. The monthly payment is not less than 5% from the outstanding balance
  2. An extra interest, 3% will be included if the number of months exceeds 12 months


PROCESS & FORMULA:

  1. calculate the basic interest per month: basic interest = (interest rate/12)/100
  2. calculate the payment for every month (month<=12): outstanding balance= outstanding balance*(1 + basic interest) โ€“ monthly payment
  3. calculate the new interest after 12 months: new interest = basic interest + (0.03/12)
  4. calculate the payment after 12 months: outstanding balance = outstanding balance*(1 + new interest) โ€“ monthly payment
  5. calculate the total amount of interest if number of months is less than or equal to 12 months : total amount of interest = amountbasic interestmonth
  6. calculate the total amount of interest if number of months is more than 12 months : total amount of interest = amount * new interest * month
  7. calculate the financial status financial status = (monthly payment/net income)*100

Others:

Pseudocode and Flowchart.docx

Output.docx

credit-card-payment-calculator's People

Contributors

ssakinah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.