This commit is contained in:
Rémi Heredero
2021-11-19 08:07:14 +01:00
commit 4b812f019a
207 changed files with 422024 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package series.C05S03_loops;
import various_tests.Input;
public class C05EX01b {
public static void main(String[] args) {
double a = Input.readDouble();
if (a>=0) {
System.out.println(Math.sqrt(a));
} else {
System.out.println("error");
}
}
}