hi guys,
i want to find 2^n (pow(2,n)).
I am doing java.lang.Math and using power function. But error occured. Because my variable is integer type. but the function arguments are double.
Can u give me a solution to find 2^n using java
i want to find 2^n (pow(2,n)).
I am doing java.lang.Math and using power function. But error occured. Because my variable is integer type. but the function arguments are double.
Can u give me a solution to find 2^n using java
Comment