fa
Feedback
PROGRAMMERS

PROGRAMMERS

رفتن به کانال در Telegram
962
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-57 روز
-1830 روز
آرشیو پست ها
Java - Kiritilgan sonning raqamlari yig'indisini aniqlovchi dastur Telegram | Viktorina bot | YouTube

#savol_cpp_boolean_28 Telegram | Viktorina bot | YouTube
#savol_cpp_boolean_28 Telegram | Viktorina bot | YouTube

#javob_cpp_boolean_27 #include using namespace std; int main(){ bool boolean; int x, y; cout << "x = "; cin >> x;
#javob_cpp_boolean_27 #include <iostream> using namespace std; int main(){ bool boolean; int x, y; cout << "x = "; cin >> x; cout << "y = "; cin >> y; boolean = ((x < 0 && y > 0) || (x < 0 && y< 0)); cout << boolean; } Telegram | Viktorina bot | YouTube

#kotlin #sqlite #notepad #internet Portfolio | Programmers

#savol_cpp_boolean_27 Telegram | Viktorina bot | YouTube
#savol_cpp_boolean_27 Telegram | Viktorina bot | YouTube

#javob_cpp_boolean_26 #include using namespace std; int main(){ bool boolean; int x, y; cout &lt;&lt; "x = "; cin &gt;&gt; x;
#javob_cpp_boolean_26 #include <iostream> using namespace std; int main(){ bool boolean; int x, y; cout << "x = "; cin >> x; cout << "y = "; cin >> y; boolean = (x > 0 && y < 0); cout << boolean; } Telegram | Viktorina bot | YouTube

Java dasturlash tilidan qo'llanma Telegram | Viktorina bot | YouTube

#savol #javob Java dasturlash tilida public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Syste
#savol #javob Java dasturlash tilida public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("n = "); int n = scanner.nextInt(); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = scanner.nextInt(); } System.out.print("siz kiritgan massiv elementlari: "); for (int i = 0; i < n; i++) { System.out.print(a[i] + " "); } System.out.println(); int k = 0; n--; while (k <= n) { System.out.print(a[k++] + " "); if (k - 1 >= n) break; System.out.print(a[k++] + " "); if (k - 1 >= n) break; System.out.print(a[n--] + " "); if (k - 1 >= n) break; System.out.print(a[n--] + " "); } } Telegram | Viktorina bot | YouTube

#savol_cpp_boolean_26 Telegram | Viktorina bot | YouTube
#savol_cpp_boolean_26 Telegram | Viktorina bot | YouTube

#javob_cpp_boolean_25 #include using namespace std; int main(){ bool boolean; int x, y; cout &lt;&lt; "x = "; cin &gt;&gt; x;
#javob_cpp_boolean_25 #include <iostream> using namespace std; int main(){ bool boolean; int x, y; cout << "x = "; cin >> x; cout << "y = "; cin >> y; boolean = (x < 0 && y > 0); cout << boolean; } Telegram | Viktorina bot | YouTube

#savol for operatoridan foydalangan holda quyidagi ko'rinishni (fibonachchi) chiqaruvchi dastur tuzing? Java dasturlash tilida #javob #java public static void main(String[] args) { int k; for (int i = 5; i >= 1; i--) { k = i; for (int j = 1; j <= i; j++) { System.out.print(k + " "); k = k + (5 - j); } System.out.println(); } } Chiquvchi ma'lumot 👇👇👇 5 9 12 14 15 4 8 11 13 3 7 10 2 6 1 Telegram | Viktorina bot | YouTube

#savol for operatoridan foydalangan holda quyidagi ko'rinishni (fibonachchi) chiqaruvchi dastur tuzing? Java dasturlash tilida #javob #java public static void main(String[] args) { for (int i = 1; i <= 5; i++) { for (int k = 4; k >= i; k--) { System.out.print(" "); } for (int j = 1; j <= i; j++) { System.out.print(i + " "); } System.out.println(); } } Chiquvchi ma'lumot 👇👇👇 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 Telegram | Viktorina bot | YouTube

#savol_cpp_boolean_25 Telegram | Viktorina bot | YouTube
#savol_cpp_boolean_25 Telegram | Viktorina bot | YouTube

Assalomu aleykum Xurmatli dasturchilar. PROGRAMMERS kanalimizda savol - javob viktorinasini olib borayapmiz. Viktorinamizda berilayotgan savollar va javobllar yuqorida qolib ketganligini hisobga olgan holatda, viktorinamizdagi savol javoblarni @programmersQuiz_bot botiga joylab borayapmiz. Botga a'zo bo'ling. Hali savollar oldida ... Botning C++ bo'limiga yangi savollarni va ularning javoblarini qo'shdik. Shu bilan C++ ning Begin bo'limidagi 40 ta savolga ham javoblarni yuklab, ushbu bo'limni yakunladik 😊 Viktorina bot Telegram | Viktorina bot | YouTube

Java dasturlash tilida kichik bir o'yin kodi public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Noma'lum butun sonni kiriting: "); int n = scanner.nextInt(); int count = 0; do { System.out.print((count + 1) + " - urinish son kiriting: "); int a = scanner.nextInt(); if (a > n) { System.out.println("Siz noma'lum sondan katta son kiritdingiz"); count++; } if (a < n) { System.out.println("Siz noma'lum sondan kichik son kiritdingiz"); count++; } if (a == n) { System.out.println("Siz " + (count + 1) + " ta urinishda topdingiz"); System.out.println("Noma'lum son: " + n + " edi"); break; } if (count == 10) { System.out.println("O'yin tugadi"); System.out.println("Noma'lum son: " + n + " edi"); break; } } while (true); } Telegram | Viktorina bot | YouTube

#savol #javob Java dasturlash tilida public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Syste
#savol #javob Java dasturlash tilida public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("a = "); int a = scanner.nextInt(); System.out.print("b = "); int b = scanner.nextInt(); for (int i = a; i <= b; i++) { System.out.print(i + " "); } } Telegram | Viktorina bot | YouTube

#javob_cpp_boolean_24 #include #include using namespace std; int main(){ bool boolean; double a, b, c, d; cout &lt;&lt; "a =
#javob_cpp_boolean_24 #include <iostream> #include <math.h> using namespace std; int main(){ bool boolean; double a, b, c, d; cout << "a = "; cin >> a; cout << "b = "; cin >> b; cout << "c = "; cin >> c; d = sqrt(b * b - 4 * a * c); boolean = (d > 0 || d == 0); cout << boolean; } Telegram | Viktorina bot | YouTube

#savol #javob Java dasturlash tilida public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Syste
#savol #javob Java dasturlash tilida public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("a = "); int a = scanner.nextInt(); System.out.print("b = "); int b = scanner.nextInt(); int kopaytmasi = 1; for (int i = a; i <= b; i++) { kopaytmasi *= i; } System.out.println(kopaytmasi); } Telegram | Viktorina bot | YouTube