Looking for some to write a c program for me and possibly e-mail it to me, willing to pay and all and it must not be copied from somewhere else.
It is a program that reads one line of text input contain 2 characters for cards and a total of 5 cards. It will then post an output with a description of each card, the hand the 5 cards make and the amount of points that hand makes. It must also show an error if the input is not supported by the program.
I could write it myself but have other coursework to do and I'm quite simply lazy. Willing to pay.
>>6
No, I can do this myself. Let me create a junk mail account first.
Please give more details, because I'm not sure if this is what you want:
Card> as(enter)
Ace of Spades
Value: 50
Description: It's traditionally seen as the highest card in the deck of playing cards, although the actual value of the card varies from game to game. In popular myth and folklore, it is also known as the "death card".
>A program that reads a 10 character input (i.e. 2H JD 4S 4C 0H) and gives an output of (2 of Hearts Jack of Diamonds 4 of Spades 4 of Clubs 10 of hearts 1 pair Score is 2) it must also display an error message if when the input value is not supported by the program i.e. 5Z
Royal Flush = 100 points
Straight flush = 75 points
Four of a king = 50 points
Full House = 25 points
Flush = 20 points
Straight = 15 points
3 of a kind = 10 points
2 pair = 5 points
1 pair = 2 points
High card = 1 point (So either An Ace, Queen, King or Jack)
>>13
Forced Indentation of Code 2.7.3 (default, Dec 20 2012, 12:54:36)
[GCC 4.5.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> len('2H JD 4S 4C 0H')
14
>>18
If he's asking for something like this, do you even think he knows what memcpy, fprintf and sizeof do?
Also, do while? Read your SICP, please.
Name:
Anonymous2012-12-31 16:04
>>21 If he's asking for something like this, do you even think he knows what memcpy, fprintf and sizeof do?
No, but it's possible. In any case, this is a good opportunity for him to learn what they do.
Also, do while?
Yes. It's rare that I'll find a use for it on a day-to-day basis, but I found it to be useful for this program in particular. Do you find something wrong with this?
Read your SICP, please.
You're scippin' up the wrong tree, Jeffrey.