gabelkova123 / lab

0 stars 0 forks source link

lab2_5 #4

Open gabelkova123 opened 1 year ago

gabelkova123 commented 1 year ago

package Lab_3;

import java.util.Scanner;

public class Task_5 { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("enter a,c: "); double a = in.nextInt(); double c = in.nextInt(); double b = Math.sqrt(cc - a*a); System.out.println(b); } }