摘要:
//一维随机数组 public class RandomArray { public static void main(String[] args) { int[] nums = new int[(int) (Math.random() * 10)]; System.out.println("len 阅读全文
posted @ 2020-05-25 22:08
profesor
阅读(804)
评论(0)
推荐(0)
摘要:
//我们知道: Java有Math.random()来随机选择[0,1)内的任意数 //随机取数 // import java.util.Random; public class Choice { public static void main(String[] args) { Random rdm 阅读全文
posted @ 2020-05-25 21:56
profesor
阅读(2724)
评论(0)
推荐(0)
摘要:
Array of arrays: #include <stdio.h> #include <string.h> int main() { char tracks[][100] = { "will the protesters in American cities bring progress", " 阅读全文
posted @ 2020-05-25 16:27
profesor
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号