Pages

Friday 18 March 2011

PROGRAM TO CALCULATE THE SIMPLE INTEREST

PROGRAM-:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float p,r,t,si;
cout<<"enter principle,rate,interest";
cin>>p>>r>>t;
si=(p*r*t)/100;
cout<<"simple interest is"<<si;
getch();
}

0 comments:

Post a Comment

 
Copyright (c) 2010 Concepts Of C++. Design by WPThemes Expert

Blogger Templates and RegistryBooster.