Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Interest rates given are annual interests rates, but we will be assuming that interest is compounded monthly, so the real rates to use will be

Interest rates given are annual interests rates, but we will be assuming that interest is compounded monthly, so the real rates to use will be 1/12 of what we are given. We will assume that interest is compounded on our accounts before any payments or contributions are made to them. If the user has not finished paying off all of their loans before they retire a warning message should be printed.

Write a program in C for this scenario.

Sample output:

Enter how much money you will be putting towards loans/retirement each month: 500

Enter how much you owe in loans: 40000

Enter the annual interest rate of the loans: 0.03

Enter your minimum monthly loan payment: 405.32

Enter your current age: 22

Enter the age you plan to retire at: 65

Enter the annual rate of return you predict for your investments: .05

You should only make the minimum payments on your loan and apply the rest towards retirement.

If you do you will have $592888.96 when you retire as opposed to $587281.54 if you paid off your loan before

investing.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

3-18. What is machine translation?

Answered: 1 week ago

Question

2. What should an employer do when facing an OSHA inspection?

Answered: 1 week ago