Show Bid Request
Homework help c program functions
Bid Request Id: 58608
|
|
|
Posted by: |
dxdenis01 (15 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Posted: |
Apr 19, 2003 1:21:53 PM EDT
|
Bidding Closes: |
Apr 20, 2003 10:30:00 PM EDT
|
Viewed (by coders): |
155 times
|
Deadline: |
4/21/2003
TIME EXPIRED
|
|
|
|
Description:
The expression C(n,r) denotes the number of r-element subsets of an n-element set. For example , C(4,2) is 6 because there are six 2-element subsets of a 4-element set. The value of C(n,r) is given by the formula-------------C(n,r) = n!/(r!*(n-r)!)---------- Write a program that computes C(n,r) using the following component functions:---- A- main :prompts the user for two numbers, storing them in varables n and r respectively B- check :compares r and n. If r>n, check invokes the function err_msg. which prints an error message. C- comb :computes C(n,r). D- fact :computes factorial. The function main prints the result.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Please use Microsoft Visual C++ BUT write the code in C
Must be 100% finished and received by buyer on:
Apr 21, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$10 (USD)
|
Apr 19, 2003 3:32:05 PM EDT
|
10
(Excellent)
|
|
|
Hi,
I've attached an example of how I would do this - let me know what you think. If you'd like any modifications please let me know.
The code is fairly straightforward, and I haven't taken any shortcuts.
Thanks,
LemonSmasher |
|
Attached File
|
|
|
|
|