Computers and Technology, 19.07.2020 01:01 allisonboggs85
In c++
Write a program that calculates the balance of a savings account at the end of a threemonth period. It should ask the user for the starting balance and the annual interest rate. A loop should then iterate once for every month in the period, performing the following steps:
A) Ask the user for the total amount deposited into the account during that month and add it to the balance. Do not accept negative numbers.
B) Ask the user for the total amount withdrawn from the account during that month and subtract it from the balance. Do not accept negative numbers or numbers greater than the balance after the deposits for the month have been added in.
C) Calculate the interest for that month. The monthly interest rate is the annual interest rate divided by 12. Multiply the monthly interest rate by the average of that month%u2019s starting and ending balance to get the interest amount for the month. This amount should be added to the balance. After the last iteration, the program should display a report that includes the following information:
- starting balance at the beginning of the three-month period
-total deposits made during the three months
- total withdrawals made during the three months
- total interest posted to the account during the three months
- final balance
Answers: 2
Computers and Technology, 21.06.2019 22:00
Which one of the following identifies the primary a purpose of information classification processes? a. define the requirements for protecting sensitive data.b. define the requirements for backing up data.c. define the requirements for storing data.d. define the requirements for transmitting data.
Answers: 2
Computers and Technology, 22.06.2019 19:20
1)consider the following code snippet: #ifndef book_h#define book_hconst double max_cost = 1000.0; class book{public: book(); book(double new_cost); void set_cost(double new_cost); double get_cost() const; private: double cost; }; double calculate_terms(book bk); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_cost should be removed since header files should not contain constants.c)the definition of book should be removed since header files should not contain class definitions.d)the body of the calculate_terms function should be added to the header file.
Answers: 1
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
In c++
Write a program that calculates the balance of a savings account at the end of a threemonth...
Advanced Placement (AP), 15.01.2021 06:10
English, 15.01.2021 06:10
Mathematics, 15.01.2021 06:10
History, 15.01.2021 06:10
Medicine, 15.01.2021 06:10
Social Studies, 15.01.2021 06:10
Physics, 15.01.2021 06:10
Biology, 15.01.2021 06:10
Advanced Placement (AP), 15.01.2021 06:10
Biology, 15.01.2021 06:10
Biology, 15.01.2021 06:10
Mathematics, 15.01.2021 06:10
Mathematics, 15.01.2021 06:10
Mathematics, 15.01.2021 06:10