首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
JavaHomeWorkList
】的更多相关文章
JavaHomeWorkList
3.17 关键词:剪刀石头布:随机数 1 import java.util.Scanner; 2 public class JSB { 3 public static void main(String[] args) { 4 int a = (int)(Math.random() * 3); 5 Scanner input = new Scanner(System.in); 6 System.out.println("输入0(剪刀)/1(石头)/2(布):"); 7 int x = i…