Is it possible to calculate Euler Number in 1000 iteration in one method and do I need to calculate factorial in the first place?
Here is my code:
import java.math.BigDecimal;
public class EulerNumber {
public static void main(String[] args) {
for (int i = 1; i < 1000; i++) {
}
System.out.println("e = " + e);
}
private static double Euler() {
return 0;
}
}