random card generator, C/C++ Programming

i need a program that generates this output: The highest card wins!
Suit Order is: clubs, diamonds, hearts and spades

The computers card is the 5 of Spades.
The player’s card is the Queen of Spades.

You win!

Would you like to play again? (Y/N): Y

/////////////////////// Clear Screen ///////////////////////

The highest card wins!
Suit Order is: clubs, diamonds, hearts and spades

The computers card is the 5 of Diamonds.
The player’s card is the 5 of Hearts.

You win!

Would you like to play again? (Y/N): n
Posted Date: 3/13/2013 11:11:09 PM | Location : United States







Related Discussions:- random card generator, Assignment Help, Ask Question on random card generator, Get Answer, Expert's Help, random card generator Discussions

Write discussion on random card generator
Your posts are moderated
Related Questions
Define the C Preprocessor? Preprocessor' is a translation stage that is applied to your source code before the compiler proper gets its hands on it usually the preprocessor per

People sometimes give their phone numbers using one or more alphabetic characters. Create a program that converts the alphabetic characters to their corresponding numbers. For exam

Why PHP is sometimes called as embedded scripting language? PHP is a high level language that is used to allow users to write and understand it in human readable form and also

Virtual Functions The keyword virtual was previously used to resolve ambiguity for a class derived from two classes, both having a common ancestor. These classes are known as v

GetChar - get a character from the keyboard, echo to the display and return it in reg al. - Note: if a linefeed (LF) is received (Enter key), a carriage return (CR) will als

Talking to IO boards inside a computer or microcontroller depends upon the principles used by the microprocessor to address physical devices. On Motorola systems all devices connec

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

#A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrom

Why are all header files not declared in every C program? - Declaring all header files in each program would result in increase in overall file size and load of the program. It

How would I use variables of a C++ object within a Lua function, and then call the Lua function from C++ code?