Horje
simple interest rate Code Example
simple interest rate
#include<iostream>
using namespace std;
int main()
{
	int p,t;
	float r,A;
	cout<<"Plese enter the intial principal balance ="<<p<<endl;
	cin>>p;
	cout<<"Plese enter the annual interest rate ="<<r<<endl;
	cin>>r;
	cout<<"Plese enter the time (in months) ="<<t<<endl;
	cin>>t;
	A=p*(1+r*t);
	cout<<"The simple intrest rate is="<<A<<endl;
	return 0;
}




Cpp

Related
delete node from linked list Code Example delete node from linked list Code Example
how to test if char in = to another in c++ Code Example how to test if char in = to another in c++ Code Example
cpprestsdk send file Code Example cpprestsdk send file Code Example
c++ vs c# Code Example c++ vs c# Code Example
To toggle (flip the status of) the k-th item of the set Code Example To toggle (flip the status of) the k-th item of the set Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8