C++ dastur.uz.exe
3 MB
π3π2π₯1
#javob_cpp_boolean_19
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c;
cout << "a = ";
cin >> a;
cout << "b = ";
cin >> b;
cout << "c = ";
cin >> c;
boolean = (a == -b) (a == -c) (b == -c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a, b, c;
cout << "a = ";
cin >> a;
cout << "b = ";
cin >> b;
cout << "c = ";
cin >> c;
boolean = (a == -b) (a == -c) (b == -c);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
π5β€1π€©1
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
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
π5π1
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); }
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); }
Anonymous Quiz
10%
8 - mart
10%
Xalqaro xotin-qizlar bayrami
16%
Xalqaro xotin-qizlar bayrami 8-mart
65%
8-mart - Xalqaro xotin-qizlar bayrami
π9π₯2π₯°2
#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
#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
π4π1π€©1
#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
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
Telegram
PROGRAMMERS
Guruh: @Cpp_java_dasturlash
Android: @prog_mz_android
Quiz bot: @programmersQuiz_bot
Portfolio: @ProgrammersPortfolio
Reklama: https://t.iss.one/programmers_reklama/2
Kanal uchun taklif:
@Mr_Max_Telegram
@ZohidAbdullayev
Android: @prog_mz_android
Quiz bot: @programmersQuiz_bot
Portfolio: @ProgrammersPortfolio
Reklama: https://t.iss.one/programmers_reklama/2
Kanal uchun taklif:
@Mr_Max_Telegram
@ZohidAbdullayev
π1π1π€©1
#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
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
Telegram
PROGRAMMERS
Guruh: @Cpp_java_dasturlash
Android: @prog_mz_android
Quiz bot: @programmersQuiz_bot
Portfolio: @ProgrammersPortfolio
Reklama: https://t.iss.one/programmers_reklama/2
Kanal uchun taklif:
@Mr_Max_Telegram
@ZohidAbdullayev
Android: @prog_mz_android
Quiz bot: @programmersQuiz_bot
Portfolio: @ProgrammersPortfolio
Reklama: https://t.iss.one/programmers_reklama/2
Kanal uchun taklif:
@Mr_Max_Telegram
@ZohidAbdullayev
π3π₯1
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
Obuna bo'lish uchun link π Telegram || Guruh
Kurs bo'yicha zakaz π Guruh
#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
#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
π1
#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
#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
π1π₯°1
#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
#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
π2π₯°1
#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
#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
π1π₯1π1
#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
#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
β€1π₯°1