Show Bid Request
Homework help
Bid Request Id: 38910
|
|
|
Posted by: |
Hootie (8 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Posted: |
Dec 8, 2002 8:56:48 AM EDT
|
Bidding Closes: |
Dec 10, 2002 9:22:14 AM EDT
|
Viewed (by coders): |
216 times
|
Deadline: |
12/11/2002
TIME EXPIRED
|
|
|
|
Description:
The assignemt is to implement a function based on ISO 2894, the standard that defines what strings of digits may be assigned as credit card numbers. Your function is to implement the function prototype: int verifycc (char * p); The argument to the function is to be a character string of any non-negative length. The function is to determine one of the following return values: 3 the character string length 0 2 the character string length contains non-numeric characters 1 the character string has neither of the above- mentioned flaws but is not a valid string for credit card numbers 0 the character string is a valid string of digits for credit card purposes Given a string of digits, the following is the ISO 2894 algorithm for determining whether a string of digits may be assigned as a credit card number: 1. Determine whether the string of digits contains an even or an odd number of digits. 2. If the number of digits is even, the initial weight value is 2; if the number of digits is odd the initial the initial weight value is 1. 3. Multiply each digit in the character string by alternating values of 1,2,1,2,1 ... begin the multiplications with the initial weight value determined in step 2. 4. Subtract 9 from the result of any multiplication that exceeds 9. 5. Add the results together. 6. Perform a modulos 10 operation on the result from step 5. If the result in step 6 is 0, then the character string could be a valid credit card number; if the result is any value other than 0, the the number is not a valid credit card number.
The function is all I need, My professor has his own main program that he will use to test the function. I have enclosed a copy of his program for your usr to see if the function works. Also the function is to use no I/O, scanf's or printf's. The input comes into your function via the argument.
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:
must be able to run on windows me and be wrote in C
Must be 100% finished and received by buyer on:
Dec 11, 2002 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.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
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!
|
$15 (USD)
|
Dec 8, 2002 2:28:43 PM EDT
|
10
(Excellent)
|
|
|
Hi, I have tested my program with the main function you supplied. The program which I give you will be properly indented and well-commented. Let me know if you are interested. I'll give you the required function immediately. Thanks. |
|
|
|
|
|