文件名称:简单的四则运算题
-
所属分类:
- 标签属性:
- 上传时间:2012-08-22
-
文件大小:7.78kb
-
已下载: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/srand.cpp
shiyan2/srand.rar
shiyan2/srand.dsp
shiyan2/Debug
shiyan2/srand.ncb
shiyan2/srand.plg
shiyan2/srand.opt
shiyan2/srand.dsw
shiyan2
shiyan2/srand.rar
shiyan2/srand.dsp
shiyan2/Debug
shiyan2/srand.ncb
shiyan2/srand.plg
shiyan2/srand.opt
shiyan2/srand.dsw
shiyan2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.