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

Perhaps you missed the announcement at the top of the page.

Yes, indeed. We don't do your homework for you. Post some code that you've written, and we'll help you help yourself.

What do people expect to get from having others answer their questions for them, anyways? I'm not trying to flame here, but in doing so, you're just setting yourself up for a swift kick in the pants once you enter the job world, when you realize that you didn't really learn how to code...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.