fork download
  1. class test {
  2. public static double a = 1.25;
  3. public static double c = 5.00;
  4. //public static double b;
  5.  
  6. public static void main(String[] args) {
  7. double b = Math.sqrt(c-a);
  8. System.out.println(b);
  9. }
  10. }
Success #stdin #stdout 0.1s 320512KB
stdin
Standard input is empty
stdout
1.9364916731037085