#include <iostream.h> #include <conio.h> int main() { //p=principle, r=rate, t=time in years float p, r, t; cout << "Principle: "; cin >> p; cout << "Rate: "; cin >> r; cout << "Time: "; cin >> t; cout << endl << "Simple Interest:" << p*r*t/100; getch(); return 0; }