Informatics - Making a Main C++ Program to Run all the Calculator Program (week 11)
Hi everyone! So, in this blog I want to share to you about how I make a main C++ program to run all the financial calculator program. Financial calculator program is program that used to calculate financial problem based on users need. The goal of this program is user can calculate their financial problem by choosing one of the programs available. There will be interest rate, compound interest rate, cash flow, and moving average calculator inside of this financial calculator.
Notes:
- Interest rate is the percentage charged by a lender to a borrower for the use of money, or the percentage earned by an investor on their money over time. It is expressed as an annual percentage of the principal amount.
- Compound interest rate is the rate at which interest is calculated not only on the initial principal amount but also on any accumulated interest from previous periods. This results in the interest "compounding" over time, which can grow the total amount much faster than simple interest.
- Cash flow is the movement of money into and out of a company over a certain period of time.
- Moving average is a stock indicator commonly used in technical analysis. The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.
First thing you need to do!
The first thing you need to do to make this finance calculator is make a folder on your storage then insert all the header and cpp files you needed into the folder. Because we will have interest rate, compound interest rate, cash flow, and also moving average it means we need to insert the header files and also the cpp files of those 4 calculators into the finance calculator folder.
Those are the files (header files and cpp files) that supposed to be on the finance calculator folder.After we make a folder then insert all the header files and the cpp files of the program, we will continue with making the main program. As I stated in the opening, this program aimed to let the users choose a program that they need to solve their financial problem. To make this program I looked into a simpler program that similar to the one that I'm going to make. Here, I'm going to show you the program that I see to help me make the finance program.
This program is a simple calculator program. As you can see in the folder there are multiplication and division. The main calculator there is the program to choose whether the user wants to run the multiplication or the division..png)
.png)
.png)
.png)
.png)
.png)
Komentar
Posting Komentar