Thursday, 19 July 2018

EMI

===========================================================================
                                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();
}


===========================================================================


                                OUTPUT


No comments:

Post a Comment