Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C, 5 card reader

Name: Tim 2012-12-31 8:41

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.

Name: Tim 2012-12-31 10:11

>>7

>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)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List