#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
#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
#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
#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
#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
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
-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
#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
#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 = scanner.nextInt();
int min = a, max = a;
for (int i = 2; i <= n; i++) {
a = scanner.nextInt();
if (min > a) {
min = a;
}
if (max < a) {
max = a;
}
}
System.out.println("Max = " + max);
System.out.println("Min = " + min);
}
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 = scanner.nextInt();
int min = a, max = a;
for (int i = 2; i <= n; i++) {
a = scanner.nextInt();
if (min > a) {
min = a;
}
if (max < a) {
max = a;
}
}
System.out.println("Max = " + max);
System.out.println("Min = " + min);
}
Telegram | Viktorina bot | YouTube
👍2🔥2
#javob_cpp_boolean_17
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a;
cout << "a = ";
cin >> a;
boolean = (a > 99 && a < 1000 && a % 2 != 0);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
#include <iostream>
using namespace std;
int main(){
bool boolean;
int a;
cout << "a = ";
cin >> a;
boolean = (a > 99 && a < 1000 && a % 2 != 0);
cout << boolean;
}
Telegram | Viktorina bot | YouTube
👍2🥰1
#javob_cpp_boolean_18
#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
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 Kotlin bo'limiga yangi savollarni va ularning javoblarini qo'shdik
Viktorina bot
Telegram | Viktorina bot | YouTube
Botning Kotlin bo'limiga yangi savollarni va ularning javoblarini qo'shdik
Viktorina bot
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