•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 456,541 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,313 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 2156 | Replies: 2
![]() |
•
•
Join Date: Aug 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
6000press enter.............
formulas
etc........
Commission is $3000
Sample output#2
Enter Commission
500.00Rate of Commission (%): ?
Sales
20000press enter................
formulas
etc...
Rate of Commission is 2.5%
Sample Output#3
Enter Commission
2500Rate of Commission (%): 5%
Sales:?
press enter...............
formula
etc...
Sales is $5000
Perhaps you missed the announcement at the top of the page.
•
•
Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,333
Reputation:
Rep Power: 11
Solved Threads: 102
•
•
•
•
Originally Posted by Dave Sinkula
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...
Alex Cavnar, aka alc6379
![]() |
•
•
•
•
•
•
•
•
DaniWeb C Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Xfx Motherboard Problem (Motherboards, CPUs and RAM)
- i want problem for practic. (Java)
- I think Loop problem (Java)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP / 2003)
- Need help with commission calculator (Java)
- Connection Problems (Networking Hardware Configuration)
- Problem with Windows Update and WinXP (Web Browsers)
Other Threads in the C Forum
- Previous Thread: Change the direction of a shape with a button
- Next Thread: cannot convert from 'double' to 'float [6][3]'



Linear Mode