文件名称:Monty
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:253.24kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
游戏规则如下:游戏中设有三扇门,其中一扇门后上一辆汽车,另外两扇门后各有一头山羊。游戏参与者首先选择其中一扇门,然后节目主持人将另外两扇门中藏有山羊的那扇打开(由于有两头山羊,不管游戏参与者如何选择,节目主持人总是可以打开一扇藏有山羊的门),并给游戏参与者一次改选的机会。这样,游戏参与者实际上有三种不同的选择方式:
1、维持原先的选择不变
2、随机选定是维持原先的选择还是选择另一扇门(例如抛硬币做决定)
3、直接选择另一扇门
模拟程序运行时,提示拥护输入其所做的决定以及用户希望的游戏次数。程序使用随机数产生器来决定汽车在哪扇门后面以及用户最开始选择的是哪扇门。若用户采用上述的第二种选择方式,程序随机选择是维持原决定还是换另一扇门。程序将用户玩的次数和获胜概率打印出来(若用户选择了藏有汽车的那扇门就算胜利)。在运行程序之前,请猜测一下你认为上述三种方法哪种最好,程序运行结果可能会让你大吃一惊!-The rules of the game are as follows: the game has three doors, one door on a car after the other after the doors have a goat. Game players choose one of the first door, and then show host will be another door in the possession of two goats to open the door (because there are two goats, regardless of the participants how to choose the game, show host always opens a possession doors have goats), and to participants in a game the opportunity to re-election. In this way, game players actually have a choice of three different ways:
1, to maintain unchanged the original choice
2, were randomly selected to maintain the original choice or to choose another door (such as throwing coins to make decisions)
3, the direct choice of a door
Simulation is running, enter their prompt support for the decision, as well as the number of users want games. Procedures for the use of random number generator to determine the vehicle in which the back door, as well as the beginning of the u
1、维持原先的选择不变
2、随机选定是维持原先的选择还是选择另一扇门(例如抛硬币做决定)
3、直接选择另一扇门
模拟程序运行时,提示拥护输入其所做的决定以及用户希望的游戏次数。程序使用随机数产生器来决定汽车在哪扇门后面以及用户最开始选择的是哪扇门。若用户采用上述的第二种选择方式,程序随机选择是维持原决定还是换另一扇门。程序将用户玩的次数和获胜概率打印出来(若用户选择了藏有汽车的那扇门就算胜利)。在运行程序之前,请猜测一下你认为上述三种方法哪种最好,程序运行结果可能会让你大吃一惊!-The rules of the game are as follows: the game has three doors, one door on a car after the other after the doors have a goat. Game players choose one of the first door, and then show host will be another door in the possession of two goats to open the door (because there are two goats, regardless of the participants how to choose the game, show host always opens a possession doors have goats), and to participants in a game the opportunity to re-election. In this way, game players actually have a choice of three different ways:
1, to maintain unchanged the original choice
2, were randomly selected to maintain the original choice or to choose another door (such as throwing coins to make decisions)
3, the direct choice of a door
Simulation is running, enter their prompt support for the decision, as well as the number of users want games. Procedures for the use of random number generator to determine the vehicle in which the back door, as well as the beginning of the u
相关搜索: 游戏规则
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Monty/Debug/Monty.exe
Monty/Debug/Monty.ilk
Monty/Debug/Monty.obj
Monty/Debug/Monty.pch
Monty/Debug/Monty.pdb
Monty/Debug/vc60.idb
Monty/Debug/vc60.pdb
Monty/Debug
Monty/Monty.cpp
Monty/Monty.dsp
Monty/Monty.dsw
Monty/Monty.ncb
Monty/Monty.opt
Monty/Monty.plg
Monty/Monty1.cpp
Monty
Monty/Debug/Monty.ilk
Monty/Debug/Monty.obj
Monty/Debug/Monty.pch
Monty/Debug/Monty.pdb
Monty/Debug/vc60.idb
Monty/Debug/vc60.pdb
Monty/Debug
Monty/Monty.cpp
Monty/Monty.dsp
Monty/Monty.dsw
Monty/Monty.ncb
Monty/Monty.opt
Monty/Monty.plg
Monty/Monty1.cpp
Monty
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.