Java Bangla Tutorials 34 : Conditional Operator

preview_player
Показать описание
➡️ In this video, I will introduce you to conditional operators in Java.
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:12) find large number using conditional operator
⌨️ (05:18) outro

🛑 Web development? Checkout following playlists :

🛑 Programming languages? Check out the following playlists:

🛑 Android development? Check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out the following playlists-

🛑 CSE Students? Checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? Checkout following playlists :

#java #anisul_islam #java_bangla_tutorial #web_development #bangla_web_development #andorid #javaprogramming #javatutorial #bangla_tutorial #java_anisul_islam
Рекомендации по теме
Комментарии
Автор

আপনার কৃতজ্ঞতা কিভাবে প্রকাশ করবো জানি না, কিন্তু আপনি যা করেছেন আমাদের জন্য সারাজীবন মনে থাকবে।

mdlikhonali
Автор

আপনি আমাদেকে এত সুন্দর ভাবে সহযোগীতা করার জন্য আপনাকে অনেক অনেক ধন্যবাদ জানাচ্ছি।

reyaguddin
Автор

Your tutorials are so much helpful. I'm enjoying your lecture videos!

khosrusiddique
Автор

vaiya apnar class gula ses a jodi kisu question diye diten amader k solve korar jnnoo tahole r o ank valo hoto. thank you vaiyaa

mdhasibulislam
Автор

package datatype;
import java.util.Scanner;
public class ConditionalOperator25 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int num1, num2, large;
System.out.print("Enter 1st number ");
num1=input.nextInt();
System.out.println("Enter 2nd number ");
num2=input.nextInt();

large=(num1>num2)?num1:num2;

System.out.println("Large number = "+large);


}



}

susmita
Автор

সুন্দর ভিডিও। আর যদি দুইটা সমান হয় সেক্ষেত্রেও তো condition টা false. সেক্ষেত্রেও তো last expression টাই print হবে।

dipokdebnath
Автор

vaiya, calculator kobe banano shikhbo?

FarhanaSharmin-vn
Автор

maximum r minimum eksathe :

package firstproject;

import java.util.Scanner;


public class MaximumMinimum {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int num1, num2, max, mini;
System.out.println("Enter two number:");
num1=input.nextInt();
num2=input.nextInt();
max=(num1>num2)?num1:num2;
System.out.println("Maximum is:"+max);
mini=(num1<num2)?num1:num2;
System.out.println("minimum is :"+mini);


}

}

whatsup
Автор

Bhai apner jonno ki dua korbo janina. But I can only say May Allah give you dunya and Akhirah(Jannatul Ferdaus --Ameen)

absnmg
Автор

package newpackage;

import java.util.Scanner;


public class Conditonal {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int num1, num2, max ;
System.out.println("Enter two numbers : ");
num1 = input.nextInt();
num2 = input.nextInt();
max = (num1>num2) ? num1 : num2 ;
System.out.println("The Maximum Number is : "+max);
}
}

tomabanik
Автор

package secondhomework;

import java.util.Scanner;

public class ConditionalOperator {

public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int num1, num2, large;
System.out.print("Enter two number : ");
num1 = input.nextInt();
num2 = input.nextInt();
large = (num1 > num2) ? num1 : num2;
System.out.println("Large = " + large);

}

}

elorabarua
Автор

package ControlStatement;

import java.util.Scanner;
public class ConditionalOperator {

public static void main(String[] args){

Scanner input = new Scanner(System.in);
int num1, num2, max;
System.out.print("Enter 2 number: ");
num1= input.nextInt();
num2= input.nextInt();
max = (num1>num2) ? num1 : num2;
System.out.println("Large number: "+max);
}

}

mhs_
Автор

int x, y;
System.out.println("Enter the value of X and Y");
x=input.nextInt();
y=input.nextInt();

(x>y)? System.out.print(x): System.out.print(y);

Code ki avabe likha jai na??

taslimarumky
Автор

public static void main(String[] args) {

Scanner input = new Scanner(System.in);
int num1, num2, small_n;

System.out.print("Enter two number : ");
num1 = input.nextInt();
num2 = input.nextInt();

small_n = (num1<num2) ? num1 : num2;

System.out.println("Small number : "+small_n);

md.ashrafulislam
Автор

import java.util.Scanner;

public class Vowel_consonant {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int number_one, number_two, maximum;
System.out.println("please enter two number: ");
number_one=input.nextInt();
number_two=input.nextInt();
? number_one :number_two;
System.out.println("The maximum number is: "+maximum);
}

}

nishatsultana
Автор

But if we input same integer we are still getting result..please explain

samistration
Автор

যদি কেউ ২০২০ এ দেখে থাকেন ।

package com.exploreas;

import java.util.Scanner;

public class Main {

public static void main(String [] args) {

Scanner input = new Scanner(System.in);
int num1, num2, large;

System.out.print("Enter 2 Integer: ");
num1 = input.nextInt();
num2 = input.nextInt();

large = Math.max(num1, num2);
System.out.println("Large Number: "+large);

}
}

ট্রাই করে দেখুন 😉

mizanur_sajid
Автор

if i want to apply this method using more numbers how i can?

Imranbof
Автор

sir, can you please tell me How i can manage the input and output screen horizontally/?

imtrk
Автор

Hi, i m from bd, i watching ur java videos, thanks to u make it easy, but i want u more like practically with eclipse. Do you have any institutions in bd whose can help me, plz let me know

arhamiqbalkhan
join shbcf.ru