GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mvenneman/InterestExercise: Coding exercise to calculate credit card interest

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
interest-exercise
interest-exercise
 
 
README.md
README.md
 
 

Repository files navigation

InterestExercise

Coding exercise to calculate credit card interest

Write a program program that calculates Credit Card interest for a Person.

  • Visa gets 10%
  • MC gets 5% interest
  • Discover gets 1% interest

Each Card Type can have multiple cards and there can be multiple Wallets for a Person.

NOTE: SIMPLE INTEREST for this test case (means 1 month of interest, if the interest rate is 10% and the amount is 100.00 – interest in this case would be 10.00)

Here are the test Cases
  1. 1 person has 1 wallet and 3 cards (1 Visa, 1 MC, 1 Discover)
  • Each Card has a balance of $100
  • calculate the total interest (simple interest) for this person and per card.
  1. 1 person has 2 wallets
  • Wallet 1 has a Visa and Discover
  • Wallet 2 has a MC
  • Each card has $100 balance
  • Calculate the total interest(simple interest) for this person and interest per wallet
  1. 2 people have 1 wallet each
  • Person 1 has 1 wallet with 3 cards (1 MC, 1 Visa, 1 Discover)
  • Person 2 has 1 wallet with 2 cards (1 Visa, 1 MC)
  • All cards in all wallets for both people have a $100 balance
  • Calculate the total interest(simple interest) for each person and interest per wallet

About

Coding exercise to calculate credit card interest

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.