-
C++ program question
If anyone can help, Id really appreciate it. I have to write a program that
allows the user to play a probability game:
There are three doors.
A bag of money is begind one of the doors and a goat is behind the other
2.
A player chooses a door
The host opens one of the "other doors" to reveal a goat.
If both other doors hide goats, the host picks one at random
Last the player is given the option of sticking with his original choice
or switching to the other unopened door.
Thanks for any help,
John
-
Re: C++ program question
On 1 Feb 2002 18:39:41 -0800, "John" <dikers_2000@yahoo.com> wrote:
>There are three doors.
This is a well-known homework problem. :-)
--
When freedom is outlawed
only outlaws will be free.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks