English
Open in Telegram

Message//Navbat juft elementlarini oʻchirish dasturi

27 February 2024
4
//Navbat juft elementlarini oʻchirish dasturi #include <iostream> #include <queue> using namespace std; int main(){     queue <int> satr;     int n, s;     cout << "\n n = "; cin >> n;     cout << endl;     for(int i = 1; i <= n; i++){         cout << " " << i << " - son = ";         cin >> s;         satr.push(s);     }     cout << "\n Kiritilgan sonlar: \n" << endl;     for(int i = 1; i <= n; i++){         s = satr.front();         satr.pop();         cout << " " << s << "\t";         satr.push(s);     }     cout << endl << "Yangi navbat elementlari:\n ";     for(int i = 1; i <= n; i++){         s = satr.front();         satr.pop();         if (i % 2 != 0){         cout  << " " << s << "\t";         satr.push(s);}     }     cout << endl; } 

Nearby in the feed

JJ. M.#include <iostream> using namespace std; int main() { string str="Hello"; for(int len = str.length()-1; len>=0; len--) cout<<str[len]; return 0; }FF..programmer uz
this message
IISLOM XUDOYBERDIYEV👨‍💻Shu biladiganla bormiFF..bor
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count