If you genuinely want something don't wait for it , teach yourself to be Impatient .
Tuesday, 4 October 2016
Program to find Comission if sale is given .
#include<iostream.h> #include<conio.h> void main () { clrscr(); int comm , sale; cout<<“Enter sale “; cin>>sale; comm = sale<=5000?0:(sale<=12000?3:(sale<=22000?7:(sale<=30000?10:15))); cout<<“Commision = “<<comm<<“%”; getch(); }
No comments:
Post a Comment