1. Engineering
  2. Computer Science
  3. how to calculate the compound interest in visual basic...

Question: how to calculate the compound interest in visual basic...

Question details

How to calculate the compound interest in VISUAL BASIC


Given: 1. P (deposit/principle) S15000 2. r (interest rate)-6.75% 3. n (compound period per year) 12 4. t (duration i.e. number of year) - 5 1. A (future value in $ 2. What is the interest you earned (i.e. A - P)? nt n) Find:

Qaniple 3ulunon. C\Userslcyu21Desktop\Lib.EGR161-Projectl -011Project01\Project0l\bin Debug\Project01.exe Enter principle value in dollars: 15000 Enter interest rate in decimal nunbe: 0.0675 You need to output P, ir, n, t, A an<d learned ter number of tines interest is conpounded per year: 12 Enter duration in years:5 The results are shown as follows: Principle15000 Interest Rate-0.0675 Compound Period Per Year = 12 Year-5 Future Ualue $ -21001.72 Interest you earned $ = 6001.725 interest. Calculation is over

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution