文件名称:shiyan2
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 872kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编程序,循环进行如下的处理过程:由计算机生成简单的四则运算题;用户给出答案;计算机判断对错。直到用户回答说不再继续做了时结束程序。
提示:可让用户选择指定出加、减、乘、除哪一种运算题,以及出一位数还是两位数的运算题;而后通过使用“rand()%10”或“rand()%100”来获得一个0到9的一位整数随机值或得到0到99的两位整数随机值来为用户出题。还可进一步对用户所做算术题的对错次数进行记录,结束程序时给出一个某种形式的成绩。
-Programmed, recycling process as follows: computer-generated from simple arithmetic problems users are given the answer computer to judge right or wrong. Until the user to answer that he would no longer continue to the end of the procedure when done. Tip: allows the user to choose a designated add, subtract, multiply, with the exception of what kind of computing topics, as well as a single-digit or double-digit computing problems and then through the use of rand () 10 or rand () 100 to get a 0-9, a random integer value or 0-99 two random integer value for the user questions. Users can also be done to further the rights and wrongs of the number of math problems to record the end of the procedure are given some form of a performance.
提示:可让用户选择指定出加、减、乘、除哪一种运算题,以及出一位数还是两位数的运算题;而后通过使用“rand()%10”或“rand()%100”来获得一个0到9的一位整数随机值或得到0到99的两位整数随机值来为用户出题。还可进一步对用户所做算术题的对错次数进行记录,结束程序时给出一个某种形式的成绩。
-Programmed, recycling process as follows: computer-generated from simple arithmetic problems users are given the answer computer to judge right or wrong. Until the user to answer that he would no longer continue to the end of the procedure when done. Tip: allows the user to choose a designated add, subtract, multiply, with the exception of what kind of computing topics, as well as a single-digit or double-digit computing problems and then through the use of rand () 10 or rand () 100 to get a 0-9, a random integer value or 0-99 two random integer value for the user questions. Users can also be done to further the rights and wrongs of the number of math problems to record the end of the procedure are given some form of a performance.
相关搜索: rand
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shiyan2
.......\Debug
.......\srand.cpp
.......\srand.dsp
.......\srand.dsw
.......\srand.ncb
.......\srand.opt
.......\srand.plg
.......\srand.rar
.......\Debug
.......\srand.cpp
.......\srand.dsp
.......\srand.dsw
.......\srand.ncb
.......\srand.opt
.......\srand.plg
.......\srand.rar