北邮计算机院C++小学期.docxVIP

  • 1
  • 0
  • 约1.74万字
  • 约 24页
  • 2019-08-11 发布于四川
  • 举报
一.1.cpp #includeiostream #includetime.h using namespace std; main() { int m; srand(time(NULL));//产生随机数种子 m=rand()%1000+1; cout********************猜数字游戏****************************endl; cout请输入你猜想的合理的商品价格;; int n; cinn; while(n1000||n1)//数据合法性判断 {

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档