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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -