fandehui

 

代码:

 1 import java.util.*;
 2 public class Main {
 3     public static void main (String [] args) {
 4         Scanner s=new Scanner(System.in);
 5         double r=s.nextInt();
 6         double h=s.nextInt();
 7         double v=0;
 8         v=3.14*r*r*h;
 9         System.out.println(String.format("%.2f",v));        
10     }
11 }

 

分类:

技术点:

相关文章:

  • 2022-02-20
  • 2022-01-21
  • 2022-03-01
  • 2021-12-11
  • 2022-01-02
  • 2022-12-23
  • 2021-07-16
  • 2021-12-01
猜你喜欢
  • 2022-01-10
  • 2021-12-09
  • 2021-08-09
  • 2022-02-21
  • 2021-07-09
  • 2021-12-02
相关资源
相似解决方案