文件名称:Fourth
介绍说明--下载内容来自于网络,使用问题请自行百度
利用随机函数产生5道两位数的加法题,每答对一道得20分,答错不得分,最后判断用户的总得分并输出。
提示:产生两位随机数用以下办法
int x=(int)(10+Math.random()*90)
-The random function of five double-digit addition problems, and for each correct answer a 20 points, got it wrong not scoring, the final judgment on the total score and the output of the user. Tip: Generate two random numbers using the following means int x = (int) (10+Math.random ()* 90)
提示:产生两位随机数用以下办法
int x=(int)(10+Math.random()*90)
-The random function of five double-digit addition problems, and for each correct answer a 20 points, got it wrong not scoring, the final judgment on the total score and the output of the user. Tip: Generate two random numbers using the following means int x = (int) (10+Math.random ()* 90)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Fourth.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.