===========================================================================
CODING
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
int EMI;
float P,CI,T;
cout<<"\n Enter P: ";
cin>>P;
cout<<"\n Enter CI: ";
cin>>CI;
cout<<"\n Enter Time: ";
cin>>T;
EMI=(P+CI)/T;
cout<<"\n The Easy Monthly Instalment For "<<P<<" and "<<CI<<" for Time "<<T<<" is: "<<EMI;
getch();
}
CODING
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
int EMI;
float P,CI,T;
cout<<"\n Enter P: ";
cin>>P;
cout<<"\n Enter CI: ";
cin>>CI;
cout<<"\n Enter Time: ";
cin>>T;
EMI=(P+CI)/T;
cout<<"\n The Easy Monthly Instalment For "<<P<<" and "<<CI<<" for Time "<<T<<" is: "<<EMI;
getch();
}
===========================================================================
No comments:
Post a Comment