//Downloaded From theonlinetutorials.com
//(C)1999.All rights reserved.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float p,t,s;
cout<<"Enter Principle Amount, Time"<<endl;
cin>>p>>t;
if(t>10)
{
s=(p*t*8)/100;
cout<<"SI = "<<s;
}
if (t<=100)
{
s=(p*t*12)/100;
cout<<"SI = "<<s;
}
getch();
}
Not Satisfied ? Just search & get the result
Related posts:
