At Westonci.ca, we make it easy to get the answers you need from a community of informed and experienced contributors. Get detailed and precise answers to your questions from a dedicated community of experts on our Q&A platform. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

User asks you to develop a program that calculates and then prints interest earned on a bank
balance. Program should print interest earned for the same balance when interest is accumulated
annually, semiannually and quarterly.
Interest earned yearly-balance * rate /100
Interest earned semiannually balance*rate/2/100
Interest earned quarterly= balance*rate/4/100
for annual
for semi annual
for quarterly
00 is Current (1) times resistance (R)


Sagot :

The program that calculates and then prints interest earned on a bank balance is given below:

The Program

#include <bits/stdc++.h>

using namespace std;

int main()

{

   double principle = 10000, rate = 5, time = 2;

   /* Calculate compound interest */

   double A = principle * (pow((1 + rate / 100), time));

     double CI = A- principle;

   cout << "Compound interest is " << CI;

   return 0;

}

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Thank you for choosing our platform. We're dedicated to providing the best answers for all your questions. Visit us again. We appreciate your time. Please come back anytime for the latest information and answers to your questions. Thank you for using Westonci.ca. Come back for more in-depth answers to all your queries.