文件名称:banzedianfacaicelanqiujiage
介绍说明--下载内容均来自于网络,请自行研究使用
用户从键盘输入篮球的价格(假设价格在1~200元之间,并且为整数),让计算器从1元开始用折半法猜测篮球的价格。若计算器的猜测价格偏高,用户输入“高”;若计算器的猜测价格偏低,用户就输入“低”;若计算器猜对了,则显示“正确”。-Users from the keyboard (assuming that the price of basketball in 1 ~ 200 yuan price, and for integer) from 1 yuan, calculator with binary speculation began the price of basketball method. If the price is higher, the calculator speculation user input "high", If the price is low, the calculator speculation user input "low", If the calculator guess rightness, shows the "correct".
(系统自动生成,下载前可以参看下载内容)
下载文件列表
banzedianfacaicelanqiujiage.txt