GithubHelp home page GithubHelp logo

loan's Introduction

Task:

You had a client who wanted a loan application, further details about the application design and work principles are below. Unfortunately your colleague Helen did some really bad work. It is now your job to fix this app, so that it will work the way the client wants it to. While fixing the issues add a detailed report about what was wrong and how you fixed it in your github readme, in the application code add comments that trace back to the readme.

Example in code: // Issue 1

Example in readme: Issue 1: method pay was missing, added it because the application won't calculate sums without it.

Application description:

This application lets user calculate the payment on a loan. Every time the loan is an annuity loan. In the top two fields one must be able to enter the borrowing costs and the loan principal respectively, while in the next two fields able to enter the number of years for the repayment of the loan and the number of terms per year. In the last field user must be able to enter the interest rate, which is entered as the interest rate in percent per year. When clicking Calculate button, the program must calculate the term payment and show it in the field after text Payment, which is a read-only EditText.

Before calculating the program must validate data:

  1. The cost must not be negative
  2. The loan must be positive
  3. The number of years must be an integer between 1 and 60 (both inclusive)
  4. The number of terms per years must be an integer between 1 and 12 (both inclusive)
  5. The interest rate must be positive and less than 50

In the case of an error, the program must display an error message in the form of a simple Toast.

screenshot_1540977348

If user clicks on Amortization, the program must open another activity that shows an amortization plan:

screenshot_1540977362


May the odds be ever in your favour

loan's People

Contributors

karelvendla avatar

Watchers

James Cloos 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.