PDA

View Full Version : Pseudocode Help

EGYPTIANEYES
12-16-2004, 03:22 AM
Dont know HOW TO DO A PSEUDOCODE REALLY REALLY NEED HELP ON THS QUESTION!

Imagine a computer randomly selects a card from a pack of cards. You have to guess what card it is. You have to guess the suit first then its value. After each guess for the suit a message will be displayed to indicate whether your guess was successful or not. Simarly every guess for the value of suit will generate a message indicating whether the value is correct, too low or too high.

The game ends when you have correctly identified the card selected by the computer.

At the completion of playing 5 games the average number of guesses to correctly identify a card for that named individual will also be displayed together with an invitation to play the game again.

Please could someone help if they have any idea how to do this! Where do i start ?

glenngv
12-16-2004, 04:55 AM
Is this a school assignment?

ArcticFox
12-16-2004, 06:27 AM
LOL!