test3.4
来源:互联网 发布:方媛开的淘宝店铺 编辑:程序博客网 时间:2024/06/05 18:13
/*target:try to calculate speed
* methods:make distance float ,time integer
*/
import java.util.*;
public class Test4 {
public static void main(String[] args) {
Random rand=new Random();
int time=rand.nextInt(60);
float dis=rand.nextFloat();
System.out.println("Speed ="+dis/time);
}
}
* methods:make distance float ,time integer
*/
import java.util.*;
public class Test4 {
public static void main(String[] args) {
Random rand=new Random();
int time=rand.nextInt(60);
float dis=rand.nextFloat();
System.out.println("Speed ="+dis/time);
}
}
0 0
- test3.4
- TEST3
- TEST3
- TEST3
- test3
- test3
- test3
- test3
- test3
- test3
- test3
- test3
- test3
- test3
- TEST3
- test3
- test3
- test3
- [易飞]EXP(SUM(LOG(字段)))的实践
- 运用神经网络方法找寻集成学习中的最优权重
- 三分法
- echarts-柱状图
- DIV+CSS的经典翻页代码
- test3.4
- POJ 1408:Fishnet
- PHP中将字符串转化为整数(int) intval() printf() 性能测试
- Redhat6 File System Structure and Maintenance Guide
- php快速处理数组每个元素
- 已经编译好的64位GCC,如何在Redhat上运行
- Android编程宝典-第二章-Activity
- 眼睛直观感受几种常用排序算法
- Redhat 6 Mounting a File System as Encrypted Guide