Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.util.Scanner;
- import java.util.Random;
- public class Main {
- public static double(double a, double b, double c);
- {
- int a = in.nextInt();
- int b = in.nextInt();
- c = Math.sqrt(a*a + b*b);
- return c;
- }
- public static void main(String[] args) {
- Scanner in = new Scanner(System.in);
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement