1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
damaskus [11]
3 years ago
13

An online bank wants you to create a program that shows prospective customers how their deposits will grow. Your program should

prompt the user for initial balance and the annual interest rate in percent. Choose double datatypes for variables to store initial balance and annual interest rate that you received from the user. Interest is compounded monthly. Computer and print out the balances after the first three months.
Test your program when user gives initial balance as 1000 and interest rate as 6.
Computers and Technology
1 answer:
Sauron [17]3 years ago
6 0

Answer:

Written in C++

#include<iostream>

#include<math.h>

using namespace std;

int main(){

double Amount, Rate;

cout<<"Initial Amount: ";

cin>>Amount;

cout<<"Rate: ";

cin>>Rate;

for(int i =1;i<=3;i++){

Amount = Amount *(pow((1+Rate/100),1));

cout<<"Balance: "<<Amount<<endl;

}

return 0;

}

Explanation:

The program was written in C++ (The line by line explanation is as follows)

This line declares Amount and Rate as double

double Amount, Rate;

This line prompts user for Amount

cout<<"Initial Amount: ";

This line gets input for Amount

cin>>Amount;

This line prompts user for Rate

cout<<"Rate: ";

This line gets input for Rate

cin>>Rate;

The following iteration calculates and prints the new balance at the end of each month using compound interest formula

for(int i =1;i<=3;i++){

Amount = Amount *(pow((1+Rate/100),1));

cout<<"Balance: "<<Amount<<endl;

}

You might be interested in
Which programming language looks similar to human languages?
Fynjy0 [20]
There is only one programming language that is closest to a human language and is the most easy to learn other than HTML or CSS. 

That language would be AppleScript. for both its simplicity and power, it has become an ideal language for basic Apple programmers to learn. 
5 0
4 years ago
Brenda's meeting with the web developer of her retail website concerning the integration of conversion tracking using Google Ads
RideAnS [48]

The web developer needs to have Brenda's Auto-tagging turned on in all of her Google Ads.

Explanation:

Auto-tagging features when turned on are able to track conversions on your website. Auto–tagging when combined with conversion tracking using Google Ads helps you see how effective your ad clicks are from potential customers. If Brenda’s auto-tagging is enabled, a Google Click Identifier will be registered and stored in what developers call Google Analytics. Brenda will then be able to go to Google Analytics and see customer clicks for website’s purchases, downloads, and more. By default, auto-tagging is turned. To turn it on, the web developer needs to

Sign into Brenda's Google ad account

Click settings in the left pane and select account settings

The web developer would then be able to enable auto-tagging and save the settings.

Learn more about Google Analytics and its connection to conversion tracking

brainly.com/question/13234037

brainly.com/question/14280673

#LearnWithBrainly

4 0
4 years ago
What is a hash function? A. A function that computes the location of the values in the array B. A function has allocated memory
galina1969 [7]

Answer:

A hash function is a function which when given a key, generates an address in the table. The example of a hash function is a book call number. Each book in the library has a unique call number. ... The later is always possible only if you know (or approximate) the number of objects to be proccessed.

Explanation:

A

3 0
3 years ago
Read 2 more answers
Both computers and people handle information using which processes?
GenaCL600 [577]

Answer:

Explanation:

Both computer and human use the process of encoding, storage and retrieval to process information.

Encoding is the process of putting the information in a format that will be understood by either the human or the computer. The information is then stored in the memory. Both the computer and human have memory where the information will be store. When the information is needed, it is then retrieved from the location in which it was stored.

6 0
3 years ago
Which line of code will use the overloaded multiplication operation?
maks197457 [2]

Answer:

def __mul__(self, b):

Explanation:

correct edge 2021

4 0
3 years ago
Other questions:
  • Write a class that can make comparisons between the efficiency of the common methods from the List interface in the ArrayList an
    5·1 answer
  • _____ run horizontally and _____ run vertically in a table.
    7·1 answer
  • What is the difference between a software package and integrated software
    7·1 answer
  • write a simple assembly code using 8088 microprocessor instruction set to add two numbers ? please help me if you know :(​
    11·1 answer
  • I NEED HELP PLEASE ITS TIMED
    9·1 answer
  • MARKETING HELP PLEASE?!?!?
    15·1 answer
  • Describe practices that enable software designers to think about using patterns?
    10·1 answer
  • Look at the following program and answer the question that follows it. 1 // This program displays my gross wages. 2 // I worked
    8·1 answer
  • Đánh giá hoạt động thanh toán điện tử của sinh viên
    6·1 answer
  • The owner of a candle shop has asked for your help. The shop sells three types of candles as shown below:
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!