I have a problem with this function, the output results are incorrect

前端 未结 0 1216
时光取名叫无心
时光取名叫无心 2021-02-05 06:59

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(){         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题