subject

Assume that your bank account has an initial deposit of $12,000 (or any amount entered by the user). Every month you withdraw an amount (randomly generated) between $480 and $620 to meet your monthly expenses. After the money is withdrawn, an interest is computed at the 6 percent/year rate. This interest is compounded by month. TODO 1. Write an algorithm (specific steps to solve the given problem) in English text to find how many months it takes for the account balance to become $0. Please note that this should be different from an essay. It should be written in your Readme. md file in the Markdown format.
2. Write a C++ program to implement the algorithm. The number may be rounded to the nearest integer. The output should look like this.
# of Month Month/Year Initial Balance Withdrawal Interest New Balance
1 January 2021: $10,000 $530 $50 $9,520
2 February 2021: $9,520 $496 $48 $9,072
3 March 2021: $9,072 $607 $42 $8,507
3. Your program should be flexible enough to ask the user to enter the initial balance and the annual interest rate at the run time. Before you write your algorithm and start writing your code, you may create a table with money that is getting compounded and the money that is withdrawn and calculate by hand the what happens in the first several months. Then use the pattern to help you figure out the algorithm and code.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 14:30, ari313
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
image
Computers and Technology, 24.06.2019 15:30, pineapplefun
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
image
Computers and Technology, 24.06.2019 16:50, yedida
Ideally, the backrest is tilted back slightly, so when you turn the wheel your shoulders are the seat.
Answers: 2
image
Computers and Technology, 25.06.2019 05:10, andyboehm7411
What is the disadvantage of a mesh topology?
Answers: 1
You know the right answer?
Assume that your bank account has an initial deposit of $12,000 (or any amount entered by the user)....

Questions in other subjects:

Konu
Biology, 04.03.2021 19:30
Konu
Mathematics, 04.03.2021 19:30
Konu
Physics, 04.03.2021 19:30