1.03K subscribers
1.77K photos
420 videos
674 files
3.84K links
Download Telegram
👍1🤩1
#savol

#javob
Java dasturlash tilida

public static void main(String[] args) {
double manfiyElementlarKopaytmasi = 1;
double[] a = {-5.1, 18, 75, 0.1, -17, 2.5, 6.35, 17.8};
System.out.print("Massiv elemetlarini: ");
for (double v : a) {
System.out.print(v + " ");
}
for (double v : a) {
if (v < 0) {
manfiyElementlarKopaytmasi *= v;
}
}
System.out.println("\nManfiy elementlar ko'paytmasi = " + manfiyElementlarKopaytmasi);
}

Telegram | Viktorina bot | YouTube
👍2🥰2
ideaIC-2021.2.3.exe
650.8 MB
intelliJ IDEA
Java dasturlash tili muhiti

Telegram | Viktorina bot | Youtube
jdk-17_windows-x64_bin.zip
170.8 MB
JDK - 17
Java dasturlash tili muhitida ishlash uchun o'rnatiladi

Telegram | Viktorina bot | Youtube
Media is too big
VIEW IN TELEGRAM
intelliJ IDEA
Java dasturlash tili muhitini o'rnatish videodarsligi

Telegram | Viktorina bot | Youtube
1👍1👏1
#savol

#javob
Java dasturlash tilida

public
static void main(String[] args) {
double musbatElementlarYigindisi = 0;
double[] a = {-5.1, 18, 75, 0.1, -17, 2.5, 6.35, 17.8};
System.out.print("Massiv elemetlarini: ");
for (double v : a) {
System.out.print(v + " ");
}
for (double v : a) {
if (v > 0) {
musbatElementlarYigindisi += v;
}
}
System.out.println("\nMusbat elementlar yig'indisi = " + musbatElementlarYigindisi);
}

Telegram | Viktorina bot | YouTube
👍4
#javob_cpp_boolean_13

#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 > 0) && (b < 0) && (c < 0)) ((a < 0) && (b > 0) && (c < 0)) ((a < 0) && (b < 0) && (c > 0))
((a > 0) && (b > 0) && (c < 0)) ((a > 0) && (b > 0) && (c > 0)) ((a < 0) && (b > 0) && (c > 0)) ((a > 0) && (b < 0) && (c > 0));
cout << boolean;
}
Telegram | Viktorina bot | YouTube
👍3👏1🤩1
👍1🥰1👏1
#savol

#javob
Java dasturlash tilida

public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int ishora = 1;
double m, s, yigindi = 0;
System.out.print("n = ");
int n = scanner.nextInt();
System.out.print("x = ");
double x = scanner.nextDouble();
x = x * Math.PI / 180;
yigindi = x;
for (int i = 3; i <= n; i += 2) {
ishora = ishora * (-1);
s = 1;
m = 1;
for (int j = 1; j <= i; j++) {
s = s * x;
m = m * j;
}
yigindi += ishora * s / m;
}
System.out.println("Sin(yig'indi) = " + Math.sin(yigindi));
System.out.println("Natija = " + yigindi);
}

Telegram | Viktorina bot | YouTube
👍21👏1
#savol

#javob
Java dasturlash tilida

public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int ishora = -1;
double m, s, yigindi = 0;
System.out.print("n = ");
int n = scanner.nextInt();
System.out.print("x = ");
double x = scanner.nextDouble();
x = x * Math.PI / 180;
s = x * x;
m = 2;
yigindi = 1 - s / m;
for (int i = 2; i <= n; i++) {
ishora *= -1;
s *= x * x;
m *= (2 * i - 1) * 2 * i;
yigindi += ishora * s / m;
}
System.out.println("Natija = " + yigindi);
}

Telegram | Viktorina bot | YouTube
👍3🔥1🤩1
#javob_cpp_boolean_14

#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 > 0) && (b < 0) && (c < 0)) ((a < 0) && (b > 0) && (c < 0)) ((a < 0) && (b < 0) && (c > 0));
cout << boolean;
}

Telegram | Viktorina bot | YouTube
👍6🔥2👏2
1👍1
PROGRAMMERS pinned a file
#javob_cpp_boolean_15

#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 > 0) && (b > 0) && (c < 0)) ((a < 0) && (b > 0) && (c > 0)) ((a > 0) && (b < 0) && (c > 0));
cout << boolean;
}

Telegram | Viktorina bot | YouTube
👍3🤩1
🤩2👍1
Media is too big
VIEW IN TELEGRAM
Java - Klaviaturadan ma'lumot kiritish

Telegram | Viktorina bot | YouTube
👍61🥰1
This media is not supported in your browser
VIEW IN TELEGRAM
Assalomu alaykum bu kanalda
-Udemy platformasing kurslari
-Frontendga doir amaliy ishlar
-Antiviruslar
-Dasturlar
-Kompyuterga oid malumotlar topishingiz mumkin
Link 👉👉 Telegram || Guruh
👍1
#javob_cpp_boolean_16

#include <iostream>

using namespace std;

int main(){
bool boolean;
int a;
cout << "a = ";
cin >> a;
boolean = (a > 9 && a < 100 && a % 2 == 0);
cout << boolean;
}

Telegram | Viktorina bot | YouTube
👍1🔥1
👍21