W.A.P. C++

WAP | CPP | Programs in C++ | C++ Solutions

Snehil Khanor's Binary Log

Write a program to find Simple interest


Principal ammount, rate of Interest and time period is Taken from user and Simple Interest is calculated.
Select To use this code as it is.. select and copy paste this code into code.cpp file :)
  1. #include <iostream.h>
  2. #include <conio.h>
  3. void main()
  4. {
  5. clrscr();
  6. float p,r,t,f,s=0;
  7. cout<<"Please enter Principle ammount ";
  8. cin>>p;
  9. //Coding by: Snehil Khanor
  10. //http://WapCPP.blogspot.com
  11. cout<<"Please enter rate of Interest. ";
  12. cin>>r;
  13. cout<<"Please enter Time Period ";
  14. cin>>t;
  15. f=p*r*t;
  16. s=f/100;
  17. cout<<"The Simple iterest is "<<s;
  18. getch();
  19. }

Search

About WAP C++

Here you'll find a wide range of programs' solution ranging from beginer level to advanced level.
All programs here are made, compiled and tested by me..and are running absolutely fine.. still if you find any bug in any program do let me know :)

Followers

Subscribe via email

Enter your email address:

Delivered by FeedBurner

my Binary Log

Blog Archive



eXTReMe Tracker