Get the information you need with the help of IDNLearn.com's extensive Q&A platform. Our platform is designed to provide reliable and thorough answers to all your questions, no matter the topic.
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 being part of this discussion. Keep exploring, asking questions, and sharing your insights with the community. Together, we can find the best solutions. Find reliable answers at IDNLearn.com. Thanks for stopping by, and come back for more trustworthy solutions.