hi to all forumers...i really need help...today is my second time entering numerical computer(computer programming) class...our first class was something related to HelloWorld...before this, i never learn anything involved about programming(c++)...for the second class, our lecturer give us this assignment...i really dont have any idea how to start and i'm totally dont understand how the system works...guys, help me please !!! i need to send this assignment 4 days from now...
Purpose: To write a code in C++ that includes a mathematical formula, i.e., the compound interest rate
formulas, to process a given set of input data.
Consider the following scenarios:
Pretend that you have graduated from USM and are just starting on your first job with a good salary.
You plan to buy a car, and you have TWO options:
Option 1. Buy a new 2012 model Honda City. The price is RM 83,573.00. You take a 90% hirepurchase loan for 9 years (108 months) at the annual interest rate of 2.4%.
Option 2. Instead of buying a new car, buy a second hand 2007 model Perodua MyVi for RM
28,000.00. You also take a 90% hire-purchase loan for 9 years but at the annual interest rate of 3%.
However, you take the difference between the current monthly installment for Honda City and the one
for MyVi and invest every month in the unit trust fund ASW2020 which offers an average of 6.5 %
Write a C++ program as a Console Application to include the calculations for the above scenarios so
that it can tell you how much money you would have saved after your 9-year loan period if you
proceed with Option 2. The program should do the following.
1. Calculate the monthly payments for Honda City and MyVi.
2. Calculate the total interest amounts for the City and the MyVi.
3. Calculate the amount of your investment after the 9-year period if you follow Option 2.
4. Print out those calculations and other values that you find interesting to the screen.