c++ dasturlash tilida toq sonlarni o'chirish
Page preview (3 pages)
Scroll down 👇About "c++ dasturlash tilida toq sonlarni o'chirish"
15-varyant bajardi: temurbek bahromov tekshirdi: ishniyazov odil toshkent 2024 17-05-2001 #include #include #include int main() { // std::vector numbers = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; // numbers.erase(std::remove_if(numbers.begin(), numbers.end(), [](int num) { return num % 2 == 0; }), numbers.end()); // std::cout << "o'chirilgan elementlar soni: " << numbers.size() << std::endl; std::cout << "keyingi elementlar: "; for (int num : numbers) { std::cout << num << " "; } std::cout << std::endl; return 0; }
This file contains 3 pages in PDF format (258.5 KB). To download "c++ dasturlash tilida toq sonlarni o'chirish", click the Telegram button on the left.