diff --git a/calculate the simple interest using c++ b/calculate the simple interest using c++ new file mode 100644 index 0000000..4222375 --- /dev/null +++ b/calculate the simple interest using c++ @@ -0,0 +1,15 @@ +#include +using namespace std; +int main(){ +//simple interest + float p,r,t; + cout<<"enter the principle amount"<>p; + cout<<"enter the rate of interest"<>r; + cout<<"enter the time period in years"<>t; + cout<<"the simple interest is "<<(p*r*t)/100<