Anybody know how to write this program
Write a program that asks the user to enter a positive integer, n, and compute the following sum:
20 + 22 + 23 + ... + 2n
Hint: use the following to workout the power:
import java.math.;
ab = Math.pow(a,b)
math.pow(a,b) returns double type