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. 

Making the main c++ program😀

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. 
Those are the pictures of the simple calculator main program that I use to help me making the main finance program. The result will be similar to the simple calculator program but there will be some things that I need to add. 

Result

This is the code that I tried to make but it's not working. I actually don't understand why but I guess there some things that missing from my code. I tried to build it in the code block but there's no clue which one that I should fix. So, I guess I need to learn more of how to make this kind of code and fix this code so it can be run. 

I guess this is the end of this blog. I'm sorry I still can't finish it until it works. Next time I will try to figure it out until it works and update it on my blog. Thank you for your time and see ya!. 

Komentar

Postingan populer dari blog ini

Informatics - Triangles (week 18)

Informatics - Making Minimarket Discount Program in C++ version 1 (Week 12)