chiziqli algoritm

DOC 2 pages 12.5 KB Free download

Page preview (2 pages)

Scroll down 👇
1 / 2
its – 23-08 abdullayev suhrob 1. bitta chiziqli algoritm (kiritilgan sonning raqamlarini teskari tartibda chiqaruvchi dastur) #include using namespace std; int main() { int son, teskari = 0, raqam; cout > son; while (son > 0) { raqam = son % 10; teskari = teskari * 10 + raqam; son = son / 10; } cout using namespace std; int main() { int son; cout > son; if (son > 0) { cout #include #include using namespace std; int main() { string matn; cout so'zlar; while (ss >> so'z) { so'zlar.push_back(so'z); } cout << "matndagi so'zlar soni: " << so'zlar.size() << endl; for (const string& s : so'zlar) { cout << "'" << s << "' so'zidagi harflar soni: " << s.length() << endl; } return 0; }
2 / 2
chiziqli algoritm - Page 2

Want to read more?

Download all 2 pages for free via Telegram.

Download full file

About "chiziqli algoritm"

its – 23-08 abdullayev suhrob 1. bitta chiziqli algoritm (kiritilgan sonning raqamlarini teskari tartibda chiqaruvchi dastur) #include using namespace std; int main() { int son, teskari = 0, raqam; cout > son; while (son > 0) { raqam = son % 10; teskari = teskari * 10 + raqam; son = son / 10; } cout using namespace std; int main() { int son; cout > son; if (son > 0) { cout #include #include using namespace std; int main() { string matn; cout so'zlar; while (ss >> so'z) { so'zlar.push_back(so'z); } cout << "matndagi so'zlar soni: " << so'zlar.size() << endl; for (const string& s : so'zlar) { cout << "'" << s << "' so'zidagi harflar soni: " …

This file contains 2 pages in DOC format (12.5 KB). To download "chiziqli algoritm", click the Telegram button on the left.

Tags: chiziqli algoritm DOC 2 pages Free download Telegram