#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
long int tot_sale;
int q,p,dis;
cout<<"Enter the per unit price ::";
cin>>p;
cout<<"Enter the total sold quantity ::";
cin>>q;
cout<<"Enter the total discount ::";
cin>>dis;
tot_sale=(p*q)-dis;
cout<<"Total sale of a shop is
"<<tot_sale;
getch();
}