2012年12月21日
摘要: 1 1 public class ComputeArea { 2 3 public static void main(String[] args){ 4 5 double radius; 6 7 double area; 8 9 radius = 20;10 11 area = radius * radius * 3.14159;12 13 System.out.println("The area for the circle of radius " + radius + " is " + area);14 15 }16 17 }18 19 ... 阅读全文
posted @ 2012-12-21 22:49 bailun 阅读(783) 评论(0) 推荐(0) 编辑