HomeC++

C++ Program to Find Compound Interest

C++ Program to Find Compound Interest

we make a Simple Program Of C++ Program to find Compound Interest.it is very interesting.So try To Make It.

C++ Program to find Compound Interest

#include<iostream>
#include<math.h>
using namespace std;
int main()
{
float p,r,t,ci;
cout<<"Enter Principle, Rate and Time:\n";
cin>>p>>r>>t;
ci=p*pow((1+r/100),t);
cout<<"\nCompound Interest = "<<ci;

return 0;
}

Output of ProgramC++ Program to find Compound Interest

Comments (0)

Leave a Reply