I am trying to make something like this:
2^1 + 2^2 + 2^3 + 2^4 + ... + 2^n
This is my code:
#include int main(){