c++ - output can compile -


i can't seem code run , need know output. can 1 please me?

vector<int> myinventory(4); myinventory[0] = 2; (int = 1; <= 3; i++) {     myinventory[i] = 2*myinventory[i -1]; } myinventory.push_back(34); (int = 0; < myinventory.size(); i++) {     cout << myinventory[i]<< " "; } 

please, if can provide output great.

just walk through on pen , paper. or said; write it, compile , run.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -