PROGRAMMERS
Kanalga Telegram’da o‘tish
Guruh: @Cpp_java_dasturlash Android: @prog_mz_android Quiz bot: @programmersQuiz_bot Portfolio: @ProgrammersPortfolio Reklama: https://t.me/programmers_reklama/2 Kanal uchun taklif: @Mr_Max_Telegram @ZohidAbdullayev
Ko'proq ko'rsatish962
Obunachilar
Ma'lumot yo'q24 soatlar
-57 kunlar
-1830 kunlar
Postlar arxiv
962
#savol
#javob
Java dasturlash tilida
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("x = ");
double x = scanner.nextDouble();
System.out.print("y = ");
double y = scanner.nextDouble();
System.out.print("z = ");
double z = scanner.nextDouble();
double min;
min = (x < y) ? x : y;
min = (min < z) ? min : z;
double k = (x + y + z - min) / 2;
if (x < 0 && y < 0 && z < 0) {
if (x == min) {
System.out.print(y + " " + k + " " + z);
} else if (y == min) {
System.out.print(x + " " + k + " " + z);
} else if (z == min) {
System.out.print(x + " " + k + " " + y);
}
} else {
System.out.print(x + " " + y + " " + z);
}
}
Telegram | Viktorina bot | YouTube
962
#javob_cpp_boolean_23
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c, n;
cout << "n = ";
cin >> n;
a = n / 100;
b = (n / 10) % 10;
c = n % 10;
boolean = (a == c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
962
#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] = 2 * i + 1;
System.out.print(a[i] + " ");
}
}
Telegram | Viktorina bot | YouTube
962
#savol
#javob
Java dasturlash tilida
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int a = scanner.nextInt();
int tartib = a;
for (int i = 2; i <= n; i++) {
a = scanner.nextInt();
if (a % 2 == 0) {
tartib = i;
}
}
System.out.println(tartib);
}
Telegram | Viktorina bot | YouTube
962
#javob_cpp_boolean_22
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c, n;
cout << "n = ";
cin >> n;
a = n / 100;
b = (n / 10) % 10;
c = n % 10;
boolean = (a < b && b < c) || (a > b && b > c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
962
#javob_cpp_boolean_21
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c, n;
cout << "n = ";
cin >> n;
a = n / 100;
b = (n / 10) % 10;
c = n % 10;
boolean = (a < b && b < c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
962
#javob_cpp_boolean_21
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c, n;
cout << "n = ";
cin >> n;
a = n / 100;
b = (n / 10) % 10;
c = n % 10;
boolean = (a < b && b < c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
962
Assalomu alaykum do'stlar sizlarga udemy.com platformasining pullik kurslarini bepul ulashib kelayotgan kanalni sizga taqdim etmoqchiman kanalda shu paytgacha 250 dan ortiq pullik kurs qoyilgan. Kanal yana o'z obunachilariga 500-600 ta pullik kursni tekinga ulashmoqchi
Obuna bo'lish uchun link 👉 Telegram || Guruh
Kurs bo'yicha zakaz 👉 Guruh
962
#savol
Kiritilgan massiv elementlaridan juftlarini topish dasturini tuzing?
#javob
Java dasturlash tilida
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = scanner.nextInt();
System.out.print(a[i] + " ");
}
System.out.println();
for (int i = 0; i < n; i++) {
if (a[i] % 2 == 0){
System.out.print(a[i] + " ");
}
}
}
Telegram | Viktorina bot | YouTube
962
#savol
Kiritilgan massiv elementlarini teskari tartibda chiqaring?
#javob
Java dasturlash tilida
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = scanner.nextInt();
System.out.print(a[i] + " ");
}
System.out.println();
for (int i = n - 1; i >= 0; i--) {
System.out.print(a[i] + " ");
}
}
Telegram | Viktorina bot | YouTube
962
#javob_cpp_boolean_20
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c, n;
cout << "n = ";
cin >> n;
a = n / 100;
b = (n / 10) % 10;
c = n % 10;
boolean = (a != b && b != c && a != c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
962
Dastur natijasini toping?
public static void main(String[] args) { String satr1 = "8 - mart "; String satr2 = "Xalqaro xotin-qizlar bayrami"; String satr3 = satr1.concat(satr2); System.out.print(satr3); }
962
🌸 8 mart – Xalqaro xotin-qizlar kuni!
💐 Barcha moʻtabar onajonlarimizni, mehribon opa-singillarimizni, go‘zallikda tengsiz qizlarimizni bayramlari bilan tabriklayman!
💐 Baxtimizga har doim sog‘-omon bo‘lishlaringizni tilaymiz!
962
FAQAT BUGUN ❗️❗️❗️
Kanalimizdagi barcha reklama narxlariga 50 % chegirma bilan reklama berishingiz mumkin
💲Tariflar:
30 minut top / 12 soat lenta - 15 ming so'm
1 soat top / 24 soat lenta - 20 ming so'm
2 soat top / 24 soat lenta - 25 ming so'm
👨🏻💻Murojaat uchun: @AbdullayevZohid
Endi mavjud! Telegram Tadqiqoti 2025 — yilning asosiy insaytlari 
