Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. package com.company;
  2. import java.util.Scanner;
  3. import java.util.Random;
  4. public class Main {
  5. public static double(double a, double b, double c);
  6. {
  7. int a = in.nextInt();
  8. int b = in.nextInt();
  9. c = Math.sqrt(a*a + b*b);
  10. return c;
  11. }
  12.  
  13. public static void main(String[] args) {
  14. Scanner in = new Scanner(System.in);
  15. System.out.println();
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement