C++ Program – Simple Interest

by Nideesh C on May 2, 2011 · 0 comments

in C++




//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 Plugin for WordPress, Blogger...
Be Sociable, Share!

Related posts:

  1. C++ Program – Simple & Compound Interest
  2. Write a C program to find the simple interest , given principle,rate of interest and times
  3. C++ program – Swap two variables using function overloading
  4. C++ program – Implementation of class
  5. C++ Program – Calculate Electricity Bill

Leave a Comment

Previous post:

Next post: