Computers and Technology
Computers and Technology, 18.02.2021 21:10, 12375819

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 14:00, mpete1234567890
Var add = function( x, y ) { return ( x + y ); } alert( add (5, 3) ); 11. (refer to code example 2.) the function a. accepts 2 parameters and returns 2 values. b. accepts 2 parameters and returns 1 value. c. accepts 2 parameters and does not return a value. d. does not accept a parameter and returns 1 value.
Answers: 1
image
Computers and Technology, 22.06.2019 05:00, brylove603
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
image
Computers and Technology, 22.06.2019 17:00, DRock4976
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
image
Computers and Technology, 23.06.2019 02:30, hailey5campbelp7d1c0
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
Do you know the correct answer?
Assume that your bank account has an initial deposit of $12,000 (or any amount entered by the user)....

Questions in other subjects: