Pls help me regarding with this problem show me a complete program of a Commission or Brokerage Problem what is written below.
The amount of money paid to an agent for buying or selling goods
C= Commission
R= Rate of Commission
S= Sales
Formulas:
C= R * S
R= C/S
S= C/R
Sample Output:#1
Enter Commission: $?
Rate of Commission:5%
Sales:$6000
press enter.............
formulas
etc........
Commission is $3000
Sample output#2
Enter Commission:$500.00
Rate of Commission (%): ?
Sales:$20000
press enter................
formulas
etc...
Rate of Commission is 2.5%
Sample Output#3
Enter Commission:$2500
Rate of Commission (%): 5%
Sales:?
press enter...............
formula
etc...
Sales is $5000