Horje
program in c++ for simple interest rate Code Example
program in c++ for 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
what type is this c++ Code Example what type is this c++ Code Example
c to assembly mips converter Code Example c to assembly mips converter Code Example
c++ program to find lcm of two numbers Code Example c++ program to find lcm of two numbers Code Example
adding two dates using necessary member function in c++ Code Example adding two dates using necessary member function in c++ Code Example
semi colon in argument list c++ Code Example semi colon in argument list c++ Code Example

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