码迷,mamicode.com
首页 > 其他好文 > 详细

9.5 homework

时间:2017-09-11 14:21:59      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:bsp   double   out   ble   []   class   5.5   system   ati   

1.public class H

{
public static void main(String[] args)

{

System.out.println(" J A V V A ");
System.out.println(" J A A V V A A ");
System.out.println(" J J A A A V V A A A ");
System.out.println(" J J A A V A A ");

}
}

2.public class test
{
public void main(string[] args)
{
double Z = 2*5.5*π;
double M = 5.5*5.5*π;
system.out.println("周长是" + Z);
system.out.println("面积是" + M);
}

}

 

 

3.public class test
{
public void main(string[] args)
{
double L = 24*1.6;
double T = 45/60+35/3600;
double S = L/T
system.out.println("速度是:" + S);
}

}

9.5 homework

标签:bsp   double   out   ble   []   class   5.5   system   ati   

原文地址:http://www.cnblogs.com/ELF-CH/p/7504643.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!