Advertisement
Guest User

7

a guest
Nov 11th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import java.util.*;
  2.  
  3.  
  4. class Dcoder
  5. {
  6.  
  7. public static void main(String args[])
  8. {
  9.  
  10. Scanner s=new Scanner();
  11. double r=s.nextdouble();
  12. double h=s.nextdouble();
  13. double c=abs(r,h);
  14. }
  15.  
  16.  
  17. public static double abc(int rr, int hh);
  18. {
  19. double cyl=3.14*3.14*rr*hh;
  20. return cyl;
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement