> 其他 >
编写一个程序,从键盘输入圆的半径,计算该半径对应的周长,面积,球的表面积和体积?
人气:303 ℃ 时间:2019-08-20 04:24:41
解答
import java.util.Scanner; public class Test { public static void main(String agrs[]) { Scanner a=new Scanner(System.in); System.out.println("请输入圆的半径"); int r=Integer.parseInt(a.next()); System....
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版