+ 1
google translation of this question: Write a program that will read 100 numbers and reverse the presentation elements at the end #include<vector> vector<int> v(100); // populating the vector v for(int i = 0; i < v.size(); i++){ int inp = 0; cin >> inp; v.push_back(inp); } // now reversing the vector v reverse(v.begin(),v.end()); لطفا سوالات خود را به زبان انگلیسی بنویسید. اگر نمی دانید ، از مترجم Google استفاده کنید
8th Dec 2019, 6:08 AM
minirkk
minirkk - avatar