...

View Full Version : Pseudocode Help



EGYPTIANEYES
12-16-2004, 02: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, 03:55 AM
Is this a school assignment?

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

Busted! We're telling your teacher!

:D

Philip M
12-16-2004, 07:19 AM
We do not do homework, but here is a clue to point you in the right direction:-

http://javascript.internet.com/games/random-number.html

;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum