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
Assume that processor refers to an object that provides a void method named process that takes no arguments. As it happens, the
Kitty [74]

Answer:

Following are the code written in the C# Programming Language:

/*.......exception handling......*/

try{ //if the program is correct

processor.process() //calling of the function

}

catch (Exception ex){ //if the program incorrect

Console.WriteLine("process failure")  //print message

}

Explanation:

Here, the following code we use exception handling in C# Programming Language in which we use the following try and catch block.

  • Firstly, we use the try block if the is correct then, we call the following method through the object.
  • Then, we use the catch block if the program is incorrect then, we print the following message.
3 0
3 years ago
Which methodology aims for customer satisfaction through early and continuous delivery of useful software components developed b
zlopas [31]

Answer:

The answer is letter B. Agile Methodology

Explanation:

Agile methodology aims for customer satisfaction through early and continuous delivery of useful software components developed by an iterative process with a design point that uses the bare minimum requirements.

4 0
4 years ago
Why would you want to export Access data to Excel before using it in another application, such as PowerPoint or Word?
geniusboy [140]

Answer:

This is because there is no functionality in Word that can import data from an Access database. You also cannot save an Access database or table as a Word document by using the Save As command in Access.

8 0
3 years ago
Noah is creating a startup. He uses the website Upwork to hire freelancers in India and in the Ukraine to work for him. This is
emmasim [6.3K]

Answer:

outsourcing

Explanation:

8 0
3 years ago
You can select multiple paragraphs by using the ____ key(s) repeatedly.
jenyasd209 [6]
<span>CTRL + Shift + Down Arrow</span>
8 0
4 years ago
Other questions:
  • William would like to sort a list of items after the data is already entered.
    9·1 answer
  • What command would you use to make a secure shell connection to the ubuntu client machine? ()?
    9·1 answer
  • What are the advantage of transistors over vacuum tubes?
    6·1 answer
  • What’s of the following can be used to visually represent information similar to diagrams format painter Helens smart are a clip
    8·1 answer
  • When communicating with sockets, a client process initiates a request for a connection and is assigned a port by the host comput
    5·2 answers
  • A dictionary password attack is a type of attack in which one person, program, or computer disguises itself as another person, p
    5·1 answer
  • Dillion’s company has decided it wants to find a way to do a better job of tracking clothing inventories. Dillon has been asked
    5·1 answer
  • Why do we use compliment method?
    13·2 answers
  • Word Bank:
    13·1 answer
  • Zoom and Adobe Acrobat Reader are freeware programs. What does this
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!