C++ Program c++ program to find compound interest#include<iostream> #include<math.h> using namespace std; int main() { float p,r,t,ci; Enter Principle, Rate and Time:"; cin>>p>>r>>t; ci=p*pow((1+r/100),t); Compound Interest = "<<ci; return 0; } OutputEnter Principle, Rate and Time: 2000 3 4 Compound Interest = 2251.01 Explanation
You may also like:
