C++ Code to find the Simple Interest of a given amount
Hi guys... Welcome to my blog. Today I am going to teach you how to create a program to find the Simple interest of a given principle amount....
It's really easy and you need to learn the basics of c++ To learn programming.... Here is the c++ code to create simple interest program.....
Note:
The code should be written in lower case all through the program...
#include<iostram.h>
#include<iomanip.h>
#include<conio.h>
void main()
{
int p,t,r,si;
clrscr();
cout<<"enter principal amt, time and rate of interest ";
cin>>p>>t>>r;
si=p*t*r;
cout<<"simple interest ="<<si;
getch();
}

Comments
Post a Comment