//C++ Program : To calculate the compound interest using CI = P(1+R/100)^T - P #include using namespace std; int main() { float CI, P, r, x; int t; cout <<"Enter the principal: "; cin >> P; cout << "\n Enter rate: "; cin >> r; cout << "\n Enter time: "; cin >> t; x = P*pow((1.+r/100.), t); CI = x - P; cout << "\n The Compound Interest is: " << CI << endl; system ("pause"); return 0; }