Media is too big
VIEW IN TELEGRAM
Kotlin - ikki o'lchovli massivning diagonallari haqida
#kotlin
#massiv
#diagonal
Telegram | Viktorina bot | Portfolio
#kotlin
#massiv
#diagonal
Telegram | Viktorina bot | Portfolio
❤1👍1👏1
Media is too big
VIEW IN TELEGRAM
Kotlin - OOP yordamida Registratsiya dasturini yaratish
#kotlin
#oop
#registration
#cleanCode
Telegram | Viktorina bot | Portfolio
#kotlin
#oop
#registration
#cleanCode
Telegram | Viktorina bot | Portfolio
❤1👍1🥰1
#javob_java_boolean_4
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
boolean bool = (a > 2) && (b <= 3);
System.out.println(bool);
}
Telegram | Viktorina bot | Portfolio
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
boolean bool = (a > 2) && (b <= 3);
System.out.println(bool);
}
Telegram | Viktorina bot | Portfolio
👍1🔥1👏1
Forwarded from Programmers Portfolio
Video darsliklar.apk
8.4 MB
Ushnu ilova orqali siz
- JAVA dasturlash tilidan
- KOTLIN dasturlash tilidan
- CISCO dasturidan
video darsliklardan na'munalar ko'rishingiz mumkin.
Bundan tashqari ilovaning Sovrinli o'yin sahifasi orqali, sovrinlar yutib olishingiz mumkin 😊
Portfolio | Programmers | Bot
- JAVA dasturlash tilidan
- KOTLIN dasturlash tilidan
- CISCO dasturidan
video darsliklardan na'munalar ko'rishingiz mumkin.
Bundan tashqari ilovaning Sovrinli o'yin sahifasi orqali, sovrinlar yutib olishingiz mumkin 😊
Portfolio | Programmers | Bot
👍3🔥1👏1🤩1
#javob_java_boolean_5
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
boolean bool = (a >= 0) || (b < -2);
System.out.println(bool);
}
Telegram | Viktorina bot | Portfolio
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
boolean bool = (a >= 0) || (b < -2);
System.out.println(bool);
}
Telegram | Viktorina bot | Portfolio
👍3❤1👏1
#savol
#if_18
#javob
#if_18
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();
System.out.print("c = ");
int c = scanner.nextInt();
if (a == b && a != c) {
System.out.println(3);
} else if (b == c && b != a) {
System.out.println(1);
} else if (a == c && a != b) {
System.out.println(2);
} else if (a == b && b == c) {
System.out.println("Bir xil sonlar");
} else {
System.out.println("Turli xil sonlar");
}
}
Telegram | Viktorina bot | Portfolio
#if_18
#javob
#if_18
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();
System.out.print("c = ");
int c = scanner.nextInt();
if (a == b && a != c) {
System.out.println(3);
} else if (b == c && b != a) {
System.out.println(1);
} else if (a == c && a != b) {
System.out.println(2);
} else if (a == b && b == c) {
System.out.println("Bir xil sonlar");
} else {
System.out.println("Turli xil sonlar");
}
}
Telegram | Viktorina bot | Portfolio
👍1🔥1👏1
#javob_java_boolean_6
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
boolean bool = a <= b && b <= c;
System.out.println(bool);
}
Telegram | Viktorina bot | Portfolio
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
boolean bool = a <= b && b <= c;
System.out.println(bool);
}
Telegram | Viktorina bot | Portfolio
❤1🥰1🎉1🤩1
#javob
#gita_7
Java dasturlash tilida
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
for (int i = 1; i < n; i++) {
for (int j = 2; j < n; j++) {
if (sum(i) == j && sum(j) == i && i != j) {
System.out.println(i + " " + j);
}
}
}
}
public static long sum(int n) {
long sum = 0;
for (int i = 1; i < n; i++) {
if (n % i == 0) {
sum += i;
}
}
return sum;
}
Telegram | Viktorina bot | Portfolio
#gita_7
Java dasturlash tilida
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
for (int i = 1; i < n; i++) {
for (int j = 2; j < n; j++) {
if (sum(i) == j && sum(j) == i && i != j) {
System.out.println(i + " " + j);
}
}
}
}
public static long sum(int n) {
long sum = 0;
for (int i = 1; i < n; i++) {
if (n % i == 0) {
sum += i;
}
}
return sum;
}
Telegram | Viktorina bot | Portfolio
👍1🔥1🥰1👏1