Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Day 1
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { double sum; sum = 0; Scanner sc = new Scanner(System.in); double n = sc.nextDouble(); double m = sc.nextDouble(); for (int i = 1; i <= n; i++) { sum = Math.sqrt(m + sum); } System.out.println("Ket qua = " + sum); } }
run
|
edit
|
history
|
help
0
exp5
Problem Name: single_digit
Validate BST
jb7.0 extends.override
epeenconverter
Main.java
JAVA # Günlük Maaş Hesaplama
// Java Coding Challenge - 08: Reversing a Number using StringBuilder
Prime Numbers
Kochergina_1