Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class Main {
- public static void main(String args[]) {
- Scanner sc = new Scanner(System.in);
- double k1 = sc.nextDouble();
- double k2 = sc.nextDouble();
- double k3 = sc.nextDouble();
- System.out.print(Math.round(1000 * k1 * k2 * k3 / (k1 * k2 + k2 * k3 + k3 * k1)));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment