Code Monkey home page Code Monkey logo

navi-machine-coding's Introduction

navi-machine-coding-interview

The following repository contains the submission for my Navi Machine coding interview which consisted of designing a Loan Disbursement and Payment checking system.

The input would be of three types : LOAN, PAYMENT, BALANCE.

  • When the input is of LOAN type, A new loan needs to be created and EMI amount and number of EMIs needs to be calculated.
  • When the input is of PAYMENT type, A lumpsum payment is made for some loan and hence the new number of emis needs to be calculated (EMI amount remains the same).
  • When the input is of BALANCE type, The output should be shown which consists of amount paid till date and the number of EMIs left.

Steps to run:

  • python3 main.py <filename/filepath>

Input Format:

  • LOAN BANK_NAME BORROWER_NAME PRINCIPAL NO_OF_YEARS RATE_OF_INTEREST
  • PAYMENT BANK_NAME BORROWER_NAME LUMP_SUM_AMOUNT EMI_NO
  • BALANCE BANK_NAME BORROWER_NAME EMI_NO

Output Format (To be shown only on the BALANCE input):

  • BANK_NAME BORROWER_NAME AMOUNT_PAID NO_OF_EMIS_LEFT

navi-machine-coding's People

Contributors

karan-modh avatar

Watchers

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