public class Area
{ public static void main(String[] args) { double r=5.5,c,s; s=Math.PI*r*r; c=2*Math.PI*r; System.out.println("圆的周长为:"+c+"\n"+"面积为:"+s); }
}
posted on 2017-09-17 20:30 哈尼鹿 阅读(114) 评论(0) 编辑 收藏 举报