Thursday, July 29, 2021

C++ Program to find Simple Interest

C++ Program to find Simple Interest

#include<iostream.h>

#include<conio.h>

void main()

{

 float si,p,r,t;

 clrscr();

 cout<<"\nEnter Principle : ";

 cin>>p;

 cout<<"\nEnter Rate : ";

 cin>>r;

 cout<<"\nEnter Time : ";

 cin>>t;

   si=p*r*t/100;

 cout<<"\nPrinciple = "<<p;

 cout<<"\nRate = "<<r;

 cout<<"\nTime = "<<t;

 cout<<"\nSimple Interest = "<<si;

 getch();

}


   

No comments:

Post a Comment

Programmingway@Eklavya Technosys!: Computer Solutions || Class-4 || Computer for Scho...

Programmingway@Eklavya Technosys!: Computer Solutions || Class-4 || Computer for Scho... :  1) Choose correct one :- 1) The step by step pla...