文件名称:un
介绍说明--下载内容均来自于网络,请自行研究使用
猜价格游戏
编写C++程序完成以下功能:
假定有一件商品,程序用随机数指定该商品的价格(1-1000的整数);
提示用户猜价格,并输入:若用户猜的价格比商品价格高或低,对用户作出相应的提示;
直到猜对为止,并给出提示。
-Guess the price game write C++ program perform the following functions: It is assumed that there is a commodity, the program with a random number to specify the price of the commodity (1-1000 integer) prompts the user to guess the price, and enter: if the user guess the price is higher than commodity prices or user tips until guessed so far, and hints.
编写C++程序完成以下功能:
假定有一件商品,程序用随机数指定该商品的价格(1-1000的整数);
提示用户猜价格,并输入:若用户猜的价格比商品价格高或低,对用户作出相应的提示;
直到猜对为止,并给出提示。
-Guess the price game write C++ program perform the following functions: It is assumed that there is a commodity, the program with a random number to specify the price of the commodity (1-1000 integer) prompts the user to guess the price, and enter: if the user guess the price is higher than commodity prices or user tips until guessed so far, and hints.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
un.cpp