Code:
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c,d;
float e;
c=a+b;
d=a-b;
e=a/b;
cout<<"sum="<<c;
cout<<"diff="<<d;
cout<<"quotient="<<e;
getch();
}
I am not getting the quotient in decimals
then how to get the quotient in decimal value